Re: _WIN32_WINNT should be 0x0501 in win32.h

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: _WIN32_WINNT should be 0x0501 in win32.h
Date: 2009-09-07 13:14:31
Message-ID: 4AA50737.5040607@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
> On Monday, September 7, 2009, Itagaki Takahiro
> <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-09-07 13:35:54 Re: _WIN32_WINNT should be 0x0501 in win32.h
Previous Message Magnus Hagander 2009-09-07 11:22:19 Re: _WIN32_WINNT should be 0x0501 in win32.h