aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexR.cxx
diff options
context:
space:
mode:
authormixedpuppy <unknown>2007-11-12 04:07:02 +0000
committermixedpuppy <unknown>2007-11-12 04:07:02 +0000
commit34583e4d6b661306545b73c1b5d2601327b3dd19 (patch)
treee0865191496115f3af5b3655eace099c0444cede /src/LexR.cxx
parent4cb95d26a562ba473cc87aeac99dbd839f7b76a7 (diff)
downloadscintilla-mirror-34583e4d6b661306545b73c1b5d2601327b3dd19.tar.gz
fix osx build
- add namespace to lexR - fix name collision with osx headers in LexTeX
Diffstat (limited to 'src/LexR.cxx')
-rw-r--r--src/LexR.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LexR.cxx b/src/LexR.cxx
index 439e3e56f..0ca45cfd0 100644
--- a/src/LexR.cxx
+++ b/src/LexR.cxx
@@ -21,6 +21,9 @@
#include "Scintilla.h"
#include "SciLexer.h"
+#ifdef SCI_NAMESPACE
+using namespace Scintilla;
+#endif
static inline bool IsAWordChar(const int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_');