]> www.fi.muni.cz Git - evince.git/blobdiff - thumbnailer/evince-thumbnailer.c
[windows] Properly define the _WIN32_WINNT version
[evince.git] / thumbnailer / evince-thumbnailer.c
index 6ec0f6c4fb28b3589ab4ee82b39c06a02c174482..13c6db6d9eedd9cdbeb5d80e11cece5143978158 100644 (file)
@@ -31,7 +31,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