1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-19 23:25:23 +08:00

[r3166] Fixed Windows compile under MinGW.

This commit is contained in:
Steve Karg 2018-02-03 02:22:22 +01:00 committed by Patrick Grimm
parent 7ec01f55ac
commit 201d7fa1c4

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