Skip to content

Commit 2b1782f

Browse files
committed
Make the MSVC build output "32-bit" at the end of the version string, the
same way the unix build now does.
1 parent 3269541 commit 2b1782f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tools/msvc/Solution.pm

Lines changed: 3 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.46 2008/12/16 15:42:21 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.47 2009/01/06 18:37:50 mha Exp $
77
#
88
use Carp;
99
use strict;
@@ -122,7 +122,8 @@ sub GenerateFiles
122122
{
123123
s{PG_VERSION "[^"]+"}{PG_VERSION "$self->{strver}"};
124124
s{PG_VERSION_NUM \d+}{PG_VERSION_NUM $self->{numver}};
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)};
125+
# XXX: When we support 64-bit, need to remove this hardcoding
126+
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"};
126127
print O;
127128
}
128129
print O "#define PG_MAJORVERSION \"$self->{majorver}\"\n";

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