Use numeric constants for win32 port defines for MinGW using gcc version 4.8.1

This commit is contained in:
skarg
2018-12-18 03:53:12 +00:00
parent 4b3db4416e
commit b3c9affd49
+3 -3
View File
@@ -29,11 +29,11 @@
#define WIN32_LEAN_AND_MEAN
#define STRICT 1
/* Windows XP minimum */
#if (_WIN32_WINNT < _WIN32_WINNT_WINXP)
#if (_WIN32_WINNT < 0x0501)
#undef _WIN32_WINNT
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#define _WIN32_WINNT 0x0501
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDI_WINXP
#define NTDDI_VERSION 0x05010000
#endif