app: fix "_WIN32_WINNT" redefined when cross-compiling with mingw-w64.
It was already defined in _mingw.h, provided with mingw-w64 headers.
This commit is contained in:
@ -75,6 +75,9 @@
|
|||||||
/* To get PROCESS_DEP_* defined we need _WIN32_WINNT at 0x0601. We still
|
/* To get PROCESS_DEP_* defined we need _WIN32_WINNT at 0x0601. We still
|
||||||
* use the API optionally only if present, though.
|
* use the API optionally only if present, though.
|
||||||
*/
|
*/
|
||||||
|
#ifdef _WIN32_WINNT
|
||||||
|
#undef _WIN32_WINNT
|
||||||
|
#endif
|
||||||
#define _WIN32_WINNT 0x0601
|
#define _WIN32_WINNT 0x0601
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
|
Reference in New Issue
Block a user