aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-03-02 15:43:11 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-03-02 15:43:11 +0000
commit57e9e01ecd6a3c9a013fb1a15201e67ba6a8f745 (patch)
treeb8f4e11fbe45897f503a8767e550cfbe21bb7231 /src
parent58128f7de0e13d39975e0ee41e2de3e8150fce13 (diff)
downloadpostgresql-57e9e01ecd6a3c9a013fb1a15201e67ba6a8f745.tar.gz
postgresql-57e9e01ecd6a3c9a013fb1a15201e67ba6a8f745.zip
Backpatch MSVC build fix for XSLT
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/Solution.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index e60525656d2..3431ca2e6df 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -84,6 +84,10 @@ sub GenerateFiles {
print O "#define USE_SSL 1\n" if ($self->{options}->{openssl});
print O "#define ENABLE_NLS 1\n" if ($self->{options}->{nls});
print O "#define LOCALEDIR \"/usr/local/pgsql/share/locale\"\n" if ($self->{options}->{nls});
+ if ($self->{options}->{xml}) {
+ print O "#define HAVE_LIBXSLT\n";
+ print O "#define USE_LIBXSLT\n";
+ }
if ($self->{options}->{krb5}) {
print O "#define KRB5 1\n";
print O "#define HAVE_KRB5_ERROR_TEXT_DATA 1\n";