From 962a47500b2c38450a6d6a83c46414cc39d60609 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 14 Nov 2011 19:14:09 +1100 Subject: Dont try to use Direct2D with very old versions of Visual C++ as it is unlikely to be available. --- win32/PlatWin.cxx | 2 +- win32/ScintillaWin.cxx | 2 +- 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 #include -#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 #include -#if defined(_MSC_VER) +#if defined(_MSC_VER) && (_MSC_VER > 1200) #define USE_D2D 1 #endif -- cgit v1.2.3