From a94c4ed8353e7eec5477bb14ea29f29547c08d50 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 16 Jun 2010 00:44:17 +0000 Subject: For compatibility with TDM MingW64, undefine _WIN32_WINNT before defining it. --- win32/PlatWin.cxx | 3 ++- win32/ScintillaWin.cxx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'win32') 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 #include -#define _WIN32_WINNT 0x0400 +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0500 #include #include #include 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 #include +#undef _WIN32_WINNT #define _WIN32_WINNT 0x0500 #include #include -- cgit v1.2.3