aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-07-16 20:18:31 +1000
committernyamatongwe <devnull@localhost>2012-07-16 20:18:31 +1000
commit634e7ef19b547721119e963c51e4af16d6b88f46 (patch)
tree2a5198deeab23ea798518ade0c434078b4494518 /win32/ScintillaWin.cxx
parent28359bf31e4f696901245bc955df74fd8bdda4bf (diff)
downloadscintilla-mirror-634e7ef19b547721119e963c51e4af16d6b88f46.tar.gz
Reenable building for Windows NT 4 on NT 4.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 80abc69d9..e92bd7b13 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -18,7 +18,11 @@
#include <map>
#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0500
+#ifdef WIN_TARGET
+#define _WIN32_WINNT WIN_TARGET
+#else
+#define _WIN32_WINNT 0x0500
+#endif
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>