Fix check for xsltSaveResultToString
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 08:45:32 +0000 (10:45 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 08:45:32 +0000 (10:45 +0200)
src/record_conv.c

index 695f088..dbca156 100644 (file)
@@ -532,7 +532,7 @@ static int yaz_record_conv_record_rule(yaz_record_conv_t p,
                     xmlChar *out_buf = 0;
                     int out_len;
 
-#if YAZ_HAVE_XSLTSAVERESULTTOSTRING
+#if HAVE_XSLTSAVERESULTTOSTRING
                     xsltSaveResultToString(&out_buf, &out_len, res, xsp);
 #else
                     xmlDocDumpFormatMemory (res, &out_buf, &out_len, 1);