diff options
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index d791ff45b..aad7bcf24 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.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> | 
