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:
Jehan
2016-05-29 02:26:04 +02:00
parent 0236bbdb76
commit 2bb0f1b1c9

View File

@ -75,6 +75,9 @@
/* To get PROCESS_DEP_* defined we need _WIN32_WINNT at 0x0601. We still
* use the API optionally only if present, though.
*/
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0601
#include <windows.h>
#include <conio.h>