aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-25 09:27:55 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-25 09:27:55 +1000
commit37b8f5b9c15693e08e4df6f38904d376d2a7d136 (patch)
tree009493f6bf073c38c18931edf9f5901374c854c4
parent5cd5e15ae3856225c2b537876d74d65ada8464c3 (diff)
downloadscintilla-mirror-37b8f5b9c15693e08e4df6f38904d376d2a7d136.tar.gz
Recent MingW does not compile due to missing Direct2D headers so disable Direct2D.
-rw-r--r--win32/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile
index d1fb8418f..2ca18d160 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -19,7 +19,7 @@ LDFLAGS=-shared -static -Wl,--enable-runtime-pseudo-reloc-v2 -mwindows -Wl,--add
LIBS=-lstdc++ -limm32 -lole32 -luuid
# Add -MMD to get dependencies
INCLUDEDIRS=-I ../include -I ../src -I../lexlib
-CXXBASEFLAGS=--std=c++0x -Wall -Wno-missing-braces -Wno-char-subscripts -pedantic $(INCLUDEDIRS) -fno-rtti
+CXXBASEFLAGS=--std=c++0x -Wall -Wno-missing-braces -Wno-char-subscripts -pedantic $(INCLUDEDIRS) -fno-rtti -DDISABLE_D2D
ifdef DEBUG
CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS)