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
commitdb09a30abfa16e3442a3f8b9371c475dcbe08e6f (patch)
tree4b4233f6a70bfa8e26bad06de014da7144699989
parentc4547cf2815ea1282b4f632989634aa6d08a006e (diff)
downloadscintilla-mirror-db09a30abfa16e3442a3f8b9371c475dcbe08e6f.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)