diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2010-03-02 15:43:44 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2010-03-02 15:43:44 +0000 |
commit | deb5f53b6cf224183207318c0d09daacb7cceac1 (patch) | |
tree | ab7c005428dda5f826bfe9c48031978df6c5a45b /src | |
parent | 407e42dccdf3d984ca3aea782e704dfe64874d97 (diff) |
Backpatch MSVC build fix for XSLT
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/msvc/Solution.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 7c254e602a6..3c4694c26b6 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.34.2.1 2008/02/28 12:18:03 mha Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.34.2.2 2010/03/02 15:43:44 adunstan Exp $ # use Carp; use strict; @@ -122,6 +122,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"; |