mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Declare XML_SAX_IMPL constant in stubs (#9732)
This commit is contained in:
parent
fd3d3117b5
commit
fc11a8abcb
4 changed files with 14 additions and 7 deletions
|
@ -264,12 +264,6 @@ PHP_MINIT_FUNCTION(xml)
|
|||
php_xml_mem_hdlrs.realloc_fcn = php_xml_realloc_wrapper;
|
||||
php_xml_mem_hdlrs.free_fcn = php_xml_free_wrapper;
|
||||
|
||||
#ifdef LIBXML_EXPAT_COMPAT
|
||||
REGISTER_STRING_CONSTANT("XML_SAX_IMPL", "libxml", CONST_CS|CONST_PERSISTENT);
|
||||
#else
|
||||
REGISTER_STRING_CONSTANT("XML_SAX_IMPL", "expat", CONST_CS|CONST_PERSISTENT);
|
||||
#endif
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue