aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
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