Build problem with VS2008 Express Edition - Mailing list pgsql-hackers

From James Mansion
Subject Build problem with VS2008 Express Edition
Date
Msg-id 47D7742A.8000002@mansionfamily.plus.com
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug in numeric_power() function
Next
From: James Mansion
Date:
Subject: Noob Hints on testing and debugging?