Fixed Windows compile under MinGW.

This commit is contained in:
skarg
2018-02-03 01:22:22 +00:00
parent 96d222ec58
commit 0185fe0314
+3 -3
View File
@@ -29,11 +29,11 @@
#define WIN32_LEAN_AND_MEAN
#define STRICT 1
/* Windows XP minimum */
#if (_WIN32_WINNT < 0x501)
#if (_WIN32_WINNT < _WIN32_WINNT_WINXP)
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x501
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#undef NTDDI_VERSION
#define NTDDI_VERSION _NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)
#define NTDDI_VERSION NTDDI_WINXP
#endif