Skip to content

Commit 50a4054

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 parent ff1e1e4 commit 50a4054

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)
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