aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/PlatWin.cxx3
-rw-r--r--win32/ScintillaWin.cxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 65e05f9db..44c2ba440 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -12,7 +12,8 @@
#include <stdio.h>
#include <time.h>
-#define _WIN32_WINNT 0x0400
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 5fb6e5286..ce959f893 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -16,6 +16,7 @@
#include <string>
#include <vector>
+#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <commctrl.h>