aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
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>