Re: _WIN32_WINNT should be 0x0501 in win32.h

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Chernow <ac(at)esilo(dot)com>
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:35:54
Message-ID: 9837222c0909070635w4194909et6612e867b5e5484d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 7, 2009 at 15:14, Andrew Chernow<ac(at)esilo(dot)com> wrote:
> 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.

Thanks, then we should be good to go.

If you're actively working with win2k, any chance you can get us a
buildfarm machine on it? :-)

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-09-07 14:00:38 Re: Patch: update Bonjour support to the newer non-deprecated API
Previous Message Andrew Chernow 2009-09-07 13:14:31 Re: _WIN32_WINNT should be 0x0501 in win32.h