Skip to content

Commit

Permalink
Fix version check.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Mar 12, 2024
1 parent 085ebc3 commit c7933a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/libxml/ruby_xml_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ VALUE rxml_error_wrap(const xmlError *xerror)
}

/* Hook that receives xml error message */
#if LIBXML_VERSION >= 212000
#if LIBXML_VERSION >= 21200
static void structuredErrorFunc(void *userData, const xmlError *xerror)
#else
static void structuredErrorFunc(void *userData, xmlErrorPtr xerror)
Expand Down

0 comments on commit c7933a7

Please sign in to comment.