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

Commit52ba24a

Browse files
committed
Quiet warnings about redefined PGPORT macros for MSVC.
1 parentc1d89c6 commit52ba24a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 3 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.26 2007/05/27 11:16:41 meskes Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.27 2007/06/20 17:19:00 adunstan Exp $
77
#
88
use Carp;
99
use strict;
@@ -127,6 +127,8 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
127127
}
128128
if (my$port =$self->{options}->{"--with-pgport"})
129129
{
130+
print O"#undef DEF_PGPORT\n";
131+
print O"#undef DEF_PGPORT_STR\n";
130132
print O"#define DEF_PGPORT$port\n";
131133
print O"#define DEF_PGPORT_STR\"$port\"\n";
132134
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp