diff options
| author | nyamatongwe <devnull@localhost> | 2010-06-16 00:44:17 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-06-16 00:44:17 +0000 |
| commit | a8f2ba09fa60babe912dbc32c585083c9699d7a2 (patch) | |
| tree | c83d6408b3d2df89a04b10a63728001caa88810d /win32 | |
| parent | 23120484520e9495c540f3e19cb2687e437fb31d (diff) | |
| download | scintilla-mirror-a8f2ba09fa60babe912dbc32c585083c9699d7a2.tar.gz | |
For compatibility with TDM MingW64, undefine _WIN32_WINNT before defining it.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/PlatWin.cxx | 3 | ||||
| -rw-r--r-- | win32/ScintillaWin.cxx | 1 |
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> |
