t/README: --valgrind already implies -v
[gitweb.git] / git-compat-util.h
index e715285e7c2e0a3d0b959505921b344dda55089d..90e037203879f6ba91403ae5371f18910206b580 100644 (file)
@@ -86,6 +86,9 @@
 #define _SGI_SOURCE 1
 
 #ifdef WIN32 /* Both MinGW and MSVC */
+# if defined (_MSC_VER)
+#  define _WIN32_WINNT 0x0502
+# endif
 #define WIN32_LEAN_AND_MEAN  /* stops windows.h including winsock.h */
 #include <winsock2.h>
 #include <windows.h>