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.
2 parents 3666e6f + 3a76efc commit 085ebc3Copy full SHA for 085ebc3
ext/libxml/ruby_xml_error.c
@@ -97,7 +97,11 @@ VALUE rxml_error_wrap(const xmlError *xerror)
97
}
98
99
/* Hook that receives xml error message */
100
+#if LIBXML_VERSION >= 212000
101
static void structuredErrorFunc(void *userData, const xmlError *xerror)
102
+#else
103
+static void structuredErrorFunc(void *userData, xmlErrorPtr xerror)
104
+#endif
105
{
106
VALUE error = rxml_error_wrap(xerror);
107
0 commit comments