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

2009-09-02 Thread Magnus Hagander
On Wed, Sep 2, 2009 at 19:34, Zeugswetter Andreas OSB sIT wrote: >> 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 >> undefi

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

2009-09-02 Thread Zeugswetter Andreas OSB sIT
> 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 > > --- > Unfortunatel

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

2009-09-01 Thread Dave Huber
: Monday, July 14, 2008 12:05 PM To: Knight, Doug Subject: Re: [HACKERS] Building under Visual Studio 2008 - pqcomm.c compile error "Knight, Doug" writes: > Since I am primarily a Linux-based coder, do you know where I would find > the header files under VS2005 or 2008? No idea, I do

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

2008-07-14 Thread Knight, Doug
TECTED] Sent: Monday, July 14, 2008 12:05 PM To: Knight, Doug Subject: Re: [HACKERS] Building under Visual Studio 2008 - pqcomm.c compile error "Knight, Doug" <[EMAIL PROTECTED]> writes: > Since I am primarily a Linux-based coder, do you know where I would find > the header fi

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

2008-07-14 Thread Dave Page
On Mon, Jul 14, 2008 at 4:21 PM, Knight, Doug <[EMAIL PROTECTED]> wrote: > Has anyone tried successfully to build postgres under VS2008? I know neither Magnus or I have tried yet, and I doubt any of the other hackers have either. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com -- Se

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

2008-07-14 Thread Tom Lane
"Knight, Doug" <[EMAIL PROTECTED]> writes: > I am attempting to build postgres 8.3.3 under Visual Studio 2008, and I > get the following error in the build: > .\src\backend\libpq\pqcomm.c(389): error C2065: 'IPPROTO_IPV6' : > undeclared identifier [ squint... ] They define IPV6_V6ONLY and AF_INE

[HACKERS] Building under Visual Studio 2008 - pqcomm.c compile error

2008-07-14 Thread Knight, Doug
All, I am attempting to build postgres 8.3.3 under Visual Studio 2008, and I get the following error in the build: .\src\backend\libpq\pqcomm.c(389): error C2065: 'IPPROTO_IPV6' : undeclared identifier Our IT department has asked us to upgrade all our systems from VS2005 to 2008. Though cu