1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

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

Per request from Hiroshi Saito.
This commit is contained in:
Magnus Hagander 2007-04-16 18:39:19 +00:00
parent e2a186b03c
commit de9effb55f
2 changed files with 2 additions and 4 deletions

View File

@ -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 @@
#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

View File

@ -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
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})
{ {