From de9effb55f549e2d7e558c3e5d49bfdb6ee775a3 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 16 Apr 2007 18:39:19 +0000 Subject: [PATCH] Enable IPV6 for all MSVC builds, including the VC6 libpq-only build. Per request from Hiroshi Saito. --- src/include/pg_config.h.win32 | 3 +-- src/tools/msvc/Solution.pm | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index a8f489d91d..4e06ebac0c 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -8,7 +8,6 @@ * HAVE_GETOPT_H, HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H, * HAVE_STRTOLL, HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY * - * For now, also HAVE_IPV6 */ /* Define to the type of arg 1 of 'accept' */ @@ -186,7 +185,7 @@ #define HAVE_INT_TIMEZONE /* Define to 1 if you have support for IPv6. */ -//#define HAVE_IPV6 1 +#define HAVE_IPV6 1 /* Define to 1 if you have isinf(). */ #define HAVE_ISINF 1 diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index b552201a65..12a2bf0ef1 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -3,7 +3,7 @@ package Solution; # # Package that encapsulates a Visual C++ solution file generation # -# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.21 2007/04/12 07:03:00 mha Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.22 2007/04/16 18:39:19 mha Exp $ # use Carp; use strict; @@ -112,7 +112,6 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY print O "#define HAVE_LIBZ 1\n" if ($self->{options}->{zlib}); print O "#define USE_SSL 1\n" if ($self->{options}->{openssl}); print O "#define ENABLE_NLS 1\n" if ($self->{options}->{nls}); - print O "#define HAVE_IPV6 1\n"; if ($self->{options}->{xml}) { -- 2.11.0