Commit 2bb0f1b1 authored by Jehan's avatar Jehan

app: fix "_WIN32_WINNT" redefined when cross-compiling with mingw-w64.

It was already defined in _mingw.h, provided with mingw-w64 headers.
parent 0236bbdb
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment