summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-03-02 15:44:03 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-03-02 15:44:03 +0000
commit96ae23a8b34fd129181c41f8715b7ab491f0a7b9 (patch)
tree82fb8b003869e0b8c62a768f8dc2fb7b05b84038
parentd46f100d06e85bf496c5b51e6acd3d80d0440956 (diff)
Backpatch MSVC build fix for XSLT
-rw-r--r--src/tools/msvc/Solution.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 39510303616..7672866a91a 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -3,7 +3,7 @@ package Solution;
#
# Package that encapsulates a Visual C++ solution file generation
#
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.47 2009/01/06 18:37:50 mha Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.47.2.1 2010/03/02 15:44:03 adunstan Exp $
#
use Carp;
use strict;
@@ -174,6 +174,11 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
print O "#define HAVE_LIBXML2\n";
print O "#define USE_LIBXML\n";
}
+ if ($self->{options}->{xslt})
+ {
+ print O "#define HAVE_LIBXSLT\n";
+ print O "#define USE_LIBXSLT\n";
+ }
if ($self->{options}->{krb5})
{
print O "#define KRB5 1\n";