aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-11-14 19:14:09 +1100
committernyamatongwe <devnull@localhost>2011-11-14 19:14:09 +1100
commit96c89310d4e4394122ea4be743c0afb432a88716 (patch)
tree4631996f7f5a74a3cb9df166063548d6bbec6a72 /win32/ScintillaWin.cxx
parent41a9f1b9d84ecad403798967fb1728043984f466 (diff)
downloadscintilla-mirror-96c89310d4e4394122ea4be743c0afb432a88716.tar.gz
Dont try to use Direct2D with very old versions of Visual C++ as it
is unlikely to be available.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index af04ff415..39ac139af 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -24,7 +24,7 @@
#include <richedit.h>
#include <windowsx.h>
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER > 1200)
#define USE_D2D 1
#endif