reintroduced windows version check

This commit is contained in:
Guenter Obiltschnig
2012-10-14 05:50:52 +00:00
parent 9f5a680e28
commit bfce013e0f

View File

@@ -67,6 +67,14 @@
#endif
#if defined(_WIN32_WINNT) && (_WIN32_WINNT < 0x0501)
#error Unsupported Windows version.
#elif !defined(_WIN32_WINNT)
// define minimum supported
#define _WIN32_WINNT 0x0501
#endif
#include <windows.h>