Win32: Building with Longhorn SDK

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Win32: Building with Longhorn SDK
Date: 2008-01-29 22:42:58
Message-ID: 1201646578.31670.3.camel@dell.linuxdev.us.dell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When building with MSVC 2005 (Express) and the Longhorn Platform SDK
(version 6.0a), it seems that IPPROTO_IPV6 is only defined when
_WIN32_WINNT >= 0x0501. This results in a compiler error when trying to
build pqcomm.c (line 389). According to [1], building for Windows 2000
(that is, _WIN32_WINNT == 0x0500) is no longer supported with the
Longhorn version of the Platform SDK.

This isn't a huge problem (we can just require the use of prior versions
of the SDK), but I thought I'd mention it for the archives.

-Neil

[1]
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1960499&SiteID=1

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-30 00:40:46 Opinions about wording of error messages for bug #3883?
Previous Message Stephen Denne 2008-01-29 22:33:39 Re: [PATCHES] Proposed patch: synchronized_scanningGUCvariable