aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-05-12 23:22:32 +0000
committernyamatongwe <unknown>2009-05-12 23:22:32 +0000
commitd423d335288c9420c684d4123497b2ece9fbfbe0 (patch)
treeecea5518c2e59b2d59ed72ff2d8c9253cd28a470
parent0ae5f25c83deabac2c8298916d1cc58888c8c796 (diff)
downloadscintilla-mirror-d423d335288c9420c684d4123497b2ece9fbfbe0.tar.gz
Moving SCI_LEXER out of header and back into make file.
-rw-r--r--include/Platform.h1
-rw-r--r--macosx/makefile4
2 files changed, 2 insertions, 3 deletions
diff --git a/include/Platform.h b/include/Platform.h
index c552c170e..6209a3784 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -40,7 +40,6 @@
#elif defined(__APPLE__)
#define SCI_NAMESPACE
-#define SCI_LEXER
#undef PLAT_MACOSX
#define PLAT_MACOSX 1
diff --git a/macosx/makefile b/macosx/makefile
index 963c4e4f6..d6732557b 100644
--- a/macosx/makefile
+++ b/macosx/makefile
@@ -36,7 +36,7 @@ DYN_FLAGS=$(LINK_FLAGS) -framework Carbon -bundle
endif
endif
-OPTIONS=-Wall -Wno-missing-braces -Wno-char-subscripts -DMACOSX
+OPTIONS=-Wall -Wno-missing-braces -Wno-char-subscripts -DMACOSX -DSCI_LEXER
#DEBUG = 1
@@ -86,7 +86,7 @@ clean:
rm -f *.o $(COMPLIB)
deps:
- $(CC) -MM -DMACOSX $(CXXFLAGS) $(INCLUDEDIRS) *.cxx ../src/*.cxx >deps.mak
+ $(CC) -MM -DMACOSX -DSCI_LEXER $(CXXFLAGS) $(INCLUDEDIRS) *.cxx ../src/*.cxx >deps.mak
COMPLIB=DocumentAccessor.o WindowAccessor.o KeyWords.o StyleContext.o \
CharClassify.o Decoration.o Document.o CallTip.o PositionCache.o \