Skip to content

Commit de9effb

Browse files
committed
Enable IPV6 for all MSVC builds, including the VC6 libpq-only build.
Per request from Hiroshi Saito.
1 parent e2a186b commit de9effb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/include/pg_config.h.win32

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* HAVE_GETOPT_H, HAVE_GETOPT_LONG, HAVE_RINT, HAVE_STRINGS_H,
99
* HAVE_STRTOLL, HAVE_STRTOULL, HAVE_STRUCT_OPTION, ENABLE_THREAD_SAFETY
1010
*
11-
* For now, also HAVE_IPV6
1211
*/
1312

1413
/* Define to the type of arg 1 of 'accept' */
@@ -186,7 +185,7 @@
186185
#define HAVE_INT_TIMEZONE
187186

188187
/* Define to 1 if you have support for IPv6. */
189-
//#define HAVE_IPV6 1
188+
#define HAVE_IPV6 1
190189

191190
/* Define to 1 if you have isinf(). */
192191
#define HAVE_ISINF 1

src/tools/msvc/Solution.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Solution;
33
#
44
# Package that encapsulates a Visual C++ solution file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.21 2007/04/12 07:03:00 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.22 2007/04/16 18:39:19 mha Exp $
77
#
88
use Carp;
99
use strict;
@@ -112,7 +112,6 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
112112
print O "#define HAVE_LIBZ 1\n" if ($self->{options}->{zlib});
113113
print O "#define USE_SSL 1\n" if ($self->{options}->{openssl});
114114
print O "#define ENABLE_NLS 1\n" if ($self->{options}->{nls});
115-
print O "#define HAVE_IPV6 1\n";
116115

117116
if ($self->{options}->{xml})
118117
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy