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

Commit50a4054

Browse files
committed
Exclude part of the product name string that is localized in Japanese versions
of MSVC when detecting MSVC version.Hiroshi Inoue
1 parentff1e1e4 commit50a4054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 2 additions & 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.49 2009/12/23 13:27:04 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.50 2009/12/30 12:26:41 mha Exp $
77
#
88
use Carp;
99
use strict;
@@ -66,7 +66,7 @@ sub DetermineToolVersions
6666
open(P,"vcbuild /? |") ||die"vcbuild command not found";
6767
my$line = <P>;
6868
close(P);
69-
if ($line !~/^Microsoft\(R\) Visual C\+\+ Project Builder -Command Line Version(\d+)\.00\.\d+/) {
69+
if ($line !~/^Microsoft\s*\(R\) Visual C\+\+ Project Builder -\D+(\d+)\.00\.\d+/) {
7070
die"Unable to determine vcbuild version from first line of output!";
7171
}
7272
if ($1 == 8) {$self->{vcver} ='8.00' }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp