diff options
Diffstat (limited to 'ext/xml/expat_compat.h')
| -rw-r--r-- | ext/xml/expat_compat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/xml/expat_compat.h b/ext/xml/expat_compat.h index e693715813..dab9812122 100644 --- a/ext/xml/expat_compat.h +++ b/ext/xml/expat_compat.h @@ -38,6 +38,9 @@ #include <libxml/tree.h> #include <libxml/hash.h> +/* For compatibility with the misspelled version. */ +#define _ns_seperator _ns_separator + typedef xmlChar XML_Char; typedef void (*XML_StartElementHandler)(void *, const XML_Char *, const XML_Char **); @@ -61,7 +64,7 @@ typedef struct _XML_Memory_Handling_Suite { typedef struct _XML_Parser { int use_namespace; - xmlChar *_ns_seperator; + xmlChar *_ns_separator; void *user; xmlParserCtxtPtr parser; |
