Re: Building under Visual Studio 2008 - pqcomm.c compile error

From: Zeugswetter Andreas OSB sIT <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
To: Dave Huber <DHuber(at)letourneautechnologies(dot)com>, "dknight(at)wsi(dot)com" <dknight(at)wsi(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Building under Visual Studio 2008 - pqcomm.c compile error
Date: 2009-09-02 17:34:50
Message-ID: B6EA7C0C0D70A74F961700AFAB110EE0BEDA53@M0174.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I'm getting this same error and wonder if Tom's fix is sufficient.
>
> IPPROTO_IPV6 is defined in wd2def.h IF _WIN32_WINNT >= 0x0501, but in
> pg_config_os.h _WIN32_WINNT is DEFINED as 0x0500 so
> IPPROTO_IPV6 is left
> undefined.
>
> Regards,
> Dave
>
> -----------------------
> Unfortunately I had to uninstall VS2005 to install VS2008 due
> to limited
> space, or I'd search the old libraries to see where the symbol used to
> be. Anyone care to search their VS2005 includes for IPPROTO_IPV6 so I
> can compare to the VS2008?

It is defined unconditionally in PlatformSDK/Include/WinSock2.h
in VS2005 Professional.

Will a build run on Win2000 if we define 0x0501 ?

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-09-02 17:40:21 Re: Building under Visual Studio 2008 - pqcomm.c compile error
Previous Message Pavel Stehule 2009-09-02 17:28:41 Re: window functions maybe bug