Change our WIN32 API version to be 5.01 (Windows XP), to bring in the proper
authorMagnus Hagander <[email protected]>
Mon, 7 Sep 2009 11:22:12 +0000 (11:22 +0000)
committerMagnus Hagander <[email protected]>
Mon, 7 Sep 2009 11:22:12 +0000 (11:22 +0000)
IPV6 headers in newer SDKs.

src/bin/pg_ctl/pg_ctl.c
src/include/port/win32.h

index dd1ce1a657f34615cbecc79d2eae23d6913fd577..b420053637d48037cbf9843db54829971a2a62d6 100644 (file)
@@ -14,7 +14,7 @@
  * Need this to get defines for restricted tokens and jobs. And it
  * has to be set before any header from the Win32 API is loaded.
  */
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0501
 #endif
 
 #include "postgres_fe.h"
index 91171d49b0bb988f21c0dea957ffdd49790608c7..650fc53303a818b0a2d5a58c13326348804c4e53 100644 (file)
@@ -4,7 +4,7 @@
 #define WIN32_ONLY_COMPILER
 #endif
 
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0501
 /*
  * Always build with SSPI support. Keep it as a #define in case
  * we want a switch to disable it sometime in the future.