]> granicus.if.org Git - postgresql/commitdiff
Backpatch MSVC build fix for XSLT
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 15:43:44 +0000 (15:43 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 2 Mar 2010 15:43:44 +0000 (15:43 +0000)
src/tools/msvc/Solution.pm

index 7c254e602a6832823eec4432e631ac36a849f4a7..3c4694c26b63921da0602771a94bc68a4d933d26 100644 (file)
@@ -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";