diff options
author | scaraveo <unknown> | 2007-06-04 20:42:04 +0000 |
---|---|---|
committer | scaraveo <unknown> | 2007-06-04 20:42:04 +0000 |
commit | dc154931cf758f8a2347699e4f3facd9edb000a4 (patch) | |
tree | 3b9e6bdf3d0ca98be154d390a7cea855b59d0fd6 /src/PositionCache.h | |
parent | ee73a47b1c9005a6002770017f65729323e0482c (diff) | |
download | scintilla-mirror-dc154931cf758f8a2347699e4f3facd9edb000a4.tar.gz |
fix osx build for new positioncache code
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 8 |
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 |