Build problem with VS2008 Express Edition

Поиск
Список
Период
Сортировка
От James Mansion
Тема Build problem with VS2008 Express Edition
Дата
Msg-id 47D7742A.8000002@mansionfamily.plus.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

I managed to get most of 8.3 built with VS2008EE last night.  Ii had to 
change some references to msbuild to vsbuild, which I guess is expected 
but one compile issue surprised me.

I had to change

#ifdef IPV6_V6ONLY

at backend/libpq/pqcomm.c:386

to:

#if defined(IPV6_V6ONLY) && (!defined(WIN32) || (_WIN32_WINNT >= 0x0501))

because IPPROTO_IPV6 is defined in ws2ipdef.h but the IIPROTO_V6 enum 
isn't defined in ws2def.h unless you set the version up appropriately.

James




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug in numeric_power() function
Следующее
От: James Mansion
Дата:
Сообщение: Noob Hints on testing and debugging?