mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
Enable IPV6 for all MSVC builds, including the VC6 libpq-only build.
Per request from Hiroshi Saito.
This commit is contained in:
parent
e2a186b03c
commit
de9effb55f
@ -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
|
||||
|
@ -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})
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user