aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2009-09-07 11:22:12 +0000
committerMagnus Hagander <magnus@hagander.net>2009-09-07 11:22:12 +0000
commit9f0e84a65da4e57318086aa75d1650e043b7a29a (patch)
treec38e05a6b72bee969891613fb8ca074dfebdeb44 /src
parent03650589d9f7be31f3725f199e863a71d5ee8d6a (diff)
downloadpostgresql-9f0e84a65da4e57318086aa75d1650e043b7a29a.tar.gz
postgresql-9f0e84a65da4e57318086aa75d1650e043b7a29a.zip
Change our WIN32 API version to be 5.01 (Windows XP), to bring in the proper
IPV6 headers in newer SDKs.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_ctl/pg_ctl.c4
-rw-r--r--src/include/port/win32.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index ba8a17f4e14..84cbee7f76b 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.113 2009/09/02 02:40:52 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.114 2009/09/07 11:22:12 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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 4c0cc104632..940933ce3c3 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -1,10 +1,10 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.89 2009/07/24 20:12:42 mha Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.90 2009/09/07 11:22:12 mha Exp $ */
#if defined(_MSC_VER) || defined(__BORLANDC__)
#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.