Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4dd3365

Browse files
committed
Enable IPV6 when building with MSVC.
1 parentd13e903 commit4dd3365

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/tools/msvc/Mkvcbuild.pm‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Mkvcbuild;
33
#
44
# Package that generates build files for msvc build
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.7 2007/03/29 15:30:52 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.8 2007/04/12 07:02:59 mha Exp $
77
#
88
use Carp;
99
use Win32;
@@ -156,6 +156,7 @@ sub mkvcbuild
156156

157157
# src/bin
158158
my$initdb = AddSimpleFrontend('initdb', 1);
159+
$initdb->AddLibrary('wsock32.lib ws2_32.lib');
159160

160161
my$pgconfig = AddSimpleFrontend('pg_config');
161162

‎src/tools/msvc/Solution.pm‎

Lines changed: 2 additions & 1 deletion
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.20 2007/03/29 15:30:52 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.21 2007/04/12 07:03:00 mha Exp $
77
#
88
use Carp;
99
use strict;
@@ -112,6 +112,7 @@ 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";
115116

116117
if ($self->{options}->{xml})
117118
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp