Fixed Windows compile under MinGW.
This commit is contained in:
@@ -29,11 +29,11 @@
|
|||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#define STRICT 1
|
#define STRICT 1
|
||||||
/* Windows XP minimum */
|
/* Windows XP minimum */
|
||||||
#if (_WIN32_WINNT < 0x501)
|
#if (_WIN32_WINNT < _WIN32_WINNT_WINXP)
|
||||||
#undef _WIN32_WINNT
|
#undef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x501
|
#define _WIN32_WINNT _WIN32_WINNT_WINXP
|
||||||
#undef NTDDI_VERSION
|
#undef NTDDI_VERSION
|
||||||
#define NTDDI_VERSION _NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)
|
#define NTDDI_VERSION NTDDI_WINXP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user