diff options
author | Andrew Dunstan | 2008-12-16 15:42:21 +0000 |
---|---|---|
committer | Andrew Dunstan | 2008-12-16 15:42:21 +0000 |
commit | 8874a7b66eb907fcc5f6801d88e6fa8b574f0c21 (patch) | |
tree | 57a9d2cd7ab7b4c64db1518a444896c4fa243897 | |
parent | 6c9875ab6a9928dc71e026768fafb4f26681983f (diff) |
Attempt to fix MSVC breakage from Major Version patch.
-rw-r--r-- | src/tools/msvc/Solution.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index fce55aca3c..126c0ceb32 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -125,6 +125,7 @@ sub GenerateFiles 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)}; print O; } + print O "#define PG_MAJORVERSION \"$self->{majorver}\"\n"; print O "#define LOCALEDIR \"/share/locale\"\n" if ($self->{options}->{nls}); print O "/* defines added by config steps */\n"; print O "#ifndef IGNORE_CONFIGURED_SETTINGS\n"; |