diff options
author | nyamatongwe <unknown> | 2011-11-14 19:14:09 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-11-14 19:14:09 +1100 |
commit | 962a47500b2c38450a6d6a83c46414cc39d60609 (patch) | |
tree | e0e021c57ed83a56012d37a565ce46902aa019fc | |
parent | 52d78d9ce53d95a159ddfa7952b84bf754dc6054 (diff) | |
download | scintilla-mirror-962a47500b2c38450a6d6a83c46414cc39d60609.tar.gz |
Dont try to use Direct2D with very old versions of Visual C++ as it
is unlikely to be available.
-rw-r--r-- | win32/PlatWin.cxx | 2 | ||||
-rw-r--r-- | 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 <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 |