diff options
author | Magnus Hagander | 2009-01-06 18:37:50 +0000 |
---|---|---|
committer | Magnus Hagander | 2009-01-06 18:37:50 +0000 |
commit | 12058bcf0bedfaf457087bbc7a30e854979a1679 (patch) | |
tree | 24a808c1a11257a21abead33b49bb7574878ff2f | |
parent | f5e7536aa9245785c78daaf6b8392f1e7ba88f63 (diff) |
Make the MSVC build output "32-bit" at the end of the version string, the
same way the unix build now does.
-rw-r--r-- | src/tools/msvc/Solution.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 126c0ceb32..583a7048a6 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -122,7 +122,8 @@ sub GenerateFiles { s{PG_VERSION "[^"]+"}{PG_VERSION "$self->{strver}"}; s{PG_VERSION_NUM \d+}{PG_VERSION_NUM $self->{numver}}; -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)}; + # XXX: When we support 64-bit, need to remove this hardcoding +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) ", 32-bit"}; print O; } print O "#define PG_MAJORVERSION \"$self->{majorver}\"\n"; |