summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2009-09-07 11:22:12 +0000
committerMagnus Hagander2009-09-07 11:22:12 +0000
commit788c6a9a53ae0213248fdec6c47851375b8429f6 (patch)
treef7abd04057270bbb19cf22287c0a68bcf84f60a4
parent0e5a9ccf13be2f80229d4462d8a540fb4e6b2a30 (diff)
Change our WIN32 API version to be 5.01 (Windows XP), to bring in the proper
IPV6 headers in newer SDKs.
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
-rw-r--r--src/include/port/win32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index dd1ce1a657..b420053637 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -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"
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 91171d49b0..650fc53303 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -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.