Backpatch MSVC build fix for XSLT
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 15:43:11 +0000 (15:43 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 15:43:11 +0000 (15:43 +0000)
src/tools/msvc/Solution.pm

index e60525656d21660a72115d0c7837a8ea75128881..3431ca2e6df7d8b0edaa0363062e1e507f8aa145 100644 (file)
@@ -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";