projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ce714
)
Fixed compilation for no XML2
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 15 Oct 2008 18:26:08 +0000
(20:26 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 15 Oct 2008 18:26:08 +0000
(20:26 +0200)
src/xmlerror.c
patch
|
blob
|
history
diff --git
a/src/xmlerror.c
b/src/xmlerror.c
index
067ef25
..
bf80324
100644
(file)
--- 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
}
/*