Build problem with VS2008 Express Edition

From: James Mansion <james(at)mansionfamily(dot)plus(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Build problem with VS2008 Express Edition
Date: 2008-03-12 06:11:54
Message-ID: 47D7742A.8000002@mansionfamily.plus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-03-12 06:54:09 Re: BUG #4027: backslash escaping not disabled in plpgsql
Previous Message Tom Lane 2008-03-12 05:16:32 Re: bug in numeric_power() function