From: Adam Dickmeiss Date: Wed, 15 Oct 2008 18:26:08 +0000 (+0200) Subject: Fixed compilation for no XML2 X-Git-Tag: v3.0.38~28 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=92b4e042f027d999411ee8c20814cc76e2736e71;p=yaz-moved-to-github.git Fixed compilation for no XML2 --- 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 } /*