projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9875a
)
Attempt to fix MSVC breakage from Major Version patch.
author
Andrew Dunstan
<andrew@dunslane.net>
Tue, 16 Dec 2008 15:42:21 +0000
(15:42 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Tue, 16 Dec 2008 15:42:21 +0000
(15:42 +0000)
src/tools/msvc/Solution.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/Solution.pm
b/src/tools/msvc/Solution.pm
index fce55aca3cea9360efb9b9d230563840e6d04923..126c0ceb32221c338ed4faefe8ccc3a2e5fdddb2 100644
(file)
--- 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";