We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentff1e1e4 commit50a4054Copy full SHA for 50a4054
src/tools/msvc/Solution.pm
@@ -3,7 +3,7 @@ package Solution;
3
#
4
# Package that encapsulates a Visual C++ solution file generation
5
6
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.49 2009/12/23 13:27:04 mha Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.50 2009/12/30 12:26:41 mha Exp $
7
8
use Carp;
9
use strict;
@@ -66,7 +66,7 @@ sub DetermineToolVersions
66
open(P,"vcbuild /? |") ||die"vcbuild command not found";
67
my$line = <P>;
68
close(P);
69
-if ($line !~/^Microsoft\(R\) Visual C\+\+ Project Builder -Command Line Version(\d+)\.00\.\d+/) {
+if ($line !~/^Microsoft\s*\(R\) Visual C\+\+ Project Builder -\D+(\d+)\.00\.\d+/) {
70
die"Unable to determine vcbuild version from first line of output!";
71
}
72
if ($1 == 8) {$self->{vcver} ='8.00' }