Commit de9effb5 authored by Magnus Hagander's avatar Magnus Hagander

Enable IPV6 for all MSVC builds, including the VC6 libpq-only build.

Per request from Hiroshi Saito.
parent e2a186b0
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
* HAVE_GETOPT_H, HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H, * HAVE_GETOPT_H, HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H,
* HAVE_STRTOLL, HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY * HAVE_STRTOLL, HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY
* *
* For now, also HAVE_IPV6
*/ */
/* Define to the type of arg 1 of 'accept' */ /* Define to the type of arg 1 of 'accept' */
...@@ -186,7 +185,7 @@ ...@@ -186,7 +185,7 @@
#define HAVE_INT_TIMEZONE #define HAVE_INT_TIMEZONE
/* Define to 1 if you have support for IPv6. */ /* 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 to 1 if you have isinf(). */
#define HAVE_ISINF 1 #define HAVE_ISINF 1
......
...@@ -3,7 +3,7 @@ package Solution; ...@@ -3,7 +3,7 @@ package Solution;
# #
# Package that encapsulates a Visual C++ solution file generation # 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 Carp;
use strict; use strict;
...@@ -112,7 +112,6 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY ...@@ -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 HAVE_LIBZ 1\n" if ($self->{options}->{zlib});
print O "#define USE_SSL 1\n" if ($self->{options}->{openssl}); 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 ENABLE_NLS 1\n" if ($self->{options}->{nls});
print O "#define HAVE_IPV6 1\n";
if ($self->{options}->{xml}) if ($self->{options}->{xml})
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment