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

Commit04ecc64

Browse files
committed
Attempt to fix MSVC breakage from Major Version patch.
1 parent7ac5727 commit04ecc64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎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.45 2008/11/14 17:11:40 meskes Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.46 2008/12/16 15:42:21 adunstan Exp $
77
#
88
use Carp;
99
use strict;
@@ -125,6 +125,7 @@ sub GenerateFiles
125125
s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY(z)\n#define PG_VERSION_STR "PostgreSQL$self->{strver}, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER)};
126126
print O;
127127
}
128+
print O"#define PG_MAJORVERSION\"$self->{majorver}\"\n";
128129
print O"#define LOCALEDIR\"/share/locale\"\n"if ($self->{options}->{nls});
129130
print O"/* defines added by config steps */\n";
130131
print O"#ifndef IGNORE_CONFIGURED_SETTINGS\n";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp