]> www.fi.muni.cz Git - evince.git/blobdiff - shell/main.c
[windows] Properly define the _WIN32_WINNT version
[evince.git] / shell / main.c
index 23872ed0769616585e454bbcd5817400430252f1..e906ac6df0ad9552ed6daf2ba4c89f5cb621fb69 100644 (file)
@@ -46,7 +46,9 @@
 #endif
 #include <io.h>
 #include <conio.h>
-#define _WIN32_WINNT 0x0500
+#if !(_WIN32_WINNT >= 0x0500)
+#error "_WIN32_WINNT must be defined >= 0x0500"
+#endif
 #include <windows.h>
 #endif