Re: _WIN32_WINNT should be 0x0501 in win32.h - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: _WIN32_WINNT should be 0x0501 in win32.h
Date
Msg-id 4AA50737.5040607@esilo.com
Whole thread Raw
In response to Re: _WIN32_WINNT should be 0x0501 in win32.h  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> On Monday, September 7, 2009, Itagaki Takahiro
> <itagaki.takahiro@oss.ntt.co.jp> wrote:
>> 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.
> 
> Hi!
> 
> Have you verified that binaries compiled that way still run on windows
> 2000? I had checking that on my list before making this change...
> 

Yes they do.  Our current project uses 0x0501.  Windows 2000 is part of our 
build farm and a target platform for that project.  We set WINVER to the same 
value as well.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: _WIN32_WINNT should be 0x0501 in win32.h
Next
From: Alvaro Herrera
Date:
Subject: Re: Patch: update Bonjour support to the newer non-deprecated API