From 92b4e042f027d999411ee8c20814cc76e2736e71 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 15 Oct 2008 20:26:08 +0200 Subject: [PATCH 1/1] Fixed compilation for no XML2 --- src/xmlerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlerror.c b/src/xmlerror.c index 067ef25..bf80324 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -46,11 +46,11 @@ void yaz_log_xml_errors(const char *prefix, int log_level) #if YAZ_HAVE_XML2 xmlSetGenericErrorFunc((void *) (prefix ? prefix : "XML"), xml_error_handler); -#endif #if YAZ_HAVE_XSLT xsltSetGenericErrorFunc((void *) (prefix ? prefix : "XSLT"), xml_error_handler); #endif +#endif } /* -- 1.7.10.4