aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/PlatWin.cxx2
-rw-r--r--win32/ScintillaWin.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 29c9b13fe..b95d0e62c 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -23,7 +23,7 @@
#include <richedit.h>
#include <windowsx.h>
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER > 1200)
#define USE_D2D 1
#endif
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