Skip to content

Commit c7933a7

Browse files
committed
Fix version check.
1 parent 085ebc3 commit c7933a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/libxml/ruby_xml_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ VALUE rxml_error_wrap(const xmlError *xerror)
9797
}
9898

9999
/* Hook that receives xml error message */
100-
#if LIBXML_VERSION >= 212000
100+
#if LIBXML_VERSION >= 21200
101101
static void structuredErrorFunc(void *userData, const xmlError *xerror)
102102
#else
103103
static void structuredErrorFunc(void *userData, xmlErrorPtr xerror)

0 commit comments

Comments
 (0)