Re: Building under Visual Studio 2008 - pqcomm.c compile error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Building under Visual Studio 2008 - pqcomm.c compile error
Date
Msg-id 9100.1216050205@sss.pgh.pa.us
Whole thread Raw
In response to Building under Visual Studio 2008 - pqcomm.c compile error  ("Knight, Doug" <dknight@wsi.com>)
List pgsql-hackers
"Knight, Doug" <dknight@wsi.com> 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_INET6 but not
IPPROTO_IPV6?  That's pretty bizarre.  You might want to hunt around in
the system header files for those symbols and see if there's some
feature macro or something we need to set to get IPPROTO_IPV6 to be
defined.  Or maybe it's in some other header file that we're not
including.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Knight, Doug"
Date:
Subject: Building under Visual Studio 2008 - pqcomm.c compile error
Next
From: Markus Wanner
Date:
Subject: Postgres-R source code release