aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorscaraveo <devnull@localhost>2007-06-04 20:42:04 +0000
committerscaraveo <devnull@localhost>2007-06-04 20:42:04 +0000
commit0c80257e76f3c9e4b78ea5c73518f171938db14f (patch)
tree3b9e6bdf3d0ca98be154d390a7cea855b59d0fd6 /src/PositionCache.h
parente1968db795a82959db3da66e548a9ba482a3e36d (diff)
downloadscintilla-mirror-0c80257e76f3c9e4b78ea5c73518f171938db14f.tar.gz
fix osx build for new positioncache code
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index b69956d2b..ec1014c96 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -8,6 +8,10 @@
#ifndef POSITIONCACHE_H
#define POSITIONCACHE_H
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
static inline bool IsEOLChar(char ch) {
return (ch == '\r') || (ch == '\n');
}
@@ -151,4 +155,8 @@ inline bool IsSpaceOrTab(int ch) {
return ch == ' ' || ch == '\t';
}
+#ifdef SCI_NAMESPACE
+}
+#endif
+
#endif