From 4d58ea6c2d0c8021606cfc53e1a3158f80dfd8be Mon Sep 17 00:00:00 2001 From: mixedpuppy Date: Mon, 12 Nov 2007 04:07:02 +0000 Subject: fix osx build - add namespace to lexR - fix name collision with osx headers in LexTeX --- src/LexR.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/LexR.cxx') 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 == '_'); -- cgit v1.2.3