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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas OSB sIT
Тема Re: Building under Visual Studio 2008 - pqcomm.c compile error
Дата
Msg-id B6EA7C0C0D70A74F961700AFAB110EE0BEDA53@M0174.s-mxs.net
обсуждение исходный текст
Ответ на Re: Building under Visual Studio 2008 - pqcomm.c compile error  (Dave Huber <DHuber@letourneautechnologies.com>)
Ответы Re: Building under Visual Studio 2008 - pqcomm.c compile error  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: window functions maybe bug
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Building under Visual Studio 2008 - pqcomm.c compile error