Re: Building under Visual Studio 2008 - pqcomm.c compile error - Mailing list pgsql-hackers

From Zeugswetter Andreas OSB sIT
Subject Re: Building under Visual Studio 2008 - pqcomm.c compile error
Date
Msg-id B6EA7C0C0D70A74F961700AFAB110EE0BEDA53@M0174.s-mxs.net
Whole thread Raw
In response to Re: Building under Visual Studio 2008 - pqcomm.c compile error  (Dave Huber <DHuber@letourneautechnologies.com>)
Responses Re: Building under Visual Studio 2008 - pqcomm.c compile error
List 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

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: window functions maybe bug
Next
From: Magnus Hagander
Date:
Subject: Re: Building under Visual Studio 2008 - pqcomm.c compile error