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 parent7ac5727 commit04ecc64Copy full SHA for 04ecc64
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.45 2008/11/14 17:11:40 meskes Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.46 2008/12/16 15:42:21 adunstan Exp $
7
8
use Carp;
9
use strict;
@@ -125,6 +125,7 @@ sub GenerateFiles
125
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)};
126
print O;
127
}
128
+print O"#define PG_MAJORVERSION\"$self->{majorver}\"\n";
129
print O"#define LOCALEDIR\"/share/locale\"\n"if ($self->{options}->{nls});
130
print O"/* defines added by config steps */\n";
131
print O"#ifndef IGNORE_CONFIGURED_SETTINGS\n";