diff options
| author | nyamatongwe <unknown> | 2010-06-16 00:44:17 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-06-16 00:44:17 +0000 | 
| commit | a94c4ed8353e7eec5477bb14ea29f29547c08d50 (patch) | |
| tree | c83d6408b3d2df89a04b10a63728001caa88810d | |
| parent | 04be6fc5ca77516605815742f3d47534b71e9343 (diff) | |
| download | scintilla-mirror-a94c4ed8353e7eec5477bb14ea29f29547c08d50.tar.gz | |
For compatibility with TDM MingW64, undefine _WIN32_WINNT before defining it.
| -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> | 
