Enable and fix many extra warnings supported by GCC and Clang.
[tinc] / src / have.h
index bb23662..96e35fd 100644 (file)
@@ -22,7 +22,8 @@
 */
 
 #ifdef HAVE_MINGW
-#define WINVER WindowsXP
+#define WINVER 0x0600
+#define _WIN32_WINNT 0x0600
 #define WIN32_LEAN_AND_MEAN
 #endif