We should define _WIN32_WINNT as 0x0500 in src/include/port/win32.h, but it should be 0x0501 (Windows XP) because IPPROTO_IPV6 will be defined only if _WIN32_WINNT >= 0x0501 in the recent Micosoft SDKs.
[ws2def.h] #if(_WIN32_WINNT >= 0x0501) IPPROTO_IPV6 = 41, // IPv6 header Index: src/include/port/win32.h =================================================================== --- src/include/port/win32.h (head) +++ src/include/port/win32.h (work) @@ -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. Regards, --- ITAGAKI Takahiro NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers