From 788c6a9a53ae0213248fdec6c47851375b8429f6 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 7 Sep 2009 11:22:12 +0000 Subject: [PATCH] Change our WIN32 API version to be 5.01 (Windows XP), to bring in the proper IPV6 headers in newer SDKs. --- src/bin/pg_ctl/pg_ctl.c | 2 +- src/include/port/win32.h | 2 +- 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. -- 2.30.2