diff options
author | nyamatongwe <devnull@localhost> | 2011-11-14 19:14:09 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-11-14 19:14:09 +1100 |
commit | 96c89310d4e4394122ea4be743c0afb432a88716 (patch) | |
tree | 4631996f7f5a74a3cb9df166063548d6bbec6a72 | |
parent | 41a9f1b9d84ecad403798967fb1728043984f466 (diff) | |
download | scintilla-mirror-96c89310d4e4394122ea4be743c0afb432a88716.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 |