We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62cc349 commit 13def10Copy full SHA for 13def10
src/xml_wrapper.h
@@ -64,10 +64,14 @@ struct XmlParserInit {
64
XmlParserInit() {
65
xmlInitParser();
66
xmlSetGenericErrorFunc(nullptr, XmlParserInit::errorFunc);
67
+ #if LIBXML_VERSION < 21300
68
xmlThrDefSetGenericErrorFunc(nullptr, XmlParserInit::errorFunc);
69
+ #endif
70
71
xmlSetStructuredErrorFunc(nullptr, XmlParserInit::structuredErrorFunc);
72
73
xmlThrDefSetStructuredErrorFunc(nullptr, XmlParserInit::structuredErrorFunc);
74
75
}
76
~XmlParserInit() {
77
xmlCleanupParser();
0 commit comments