Declare XML_SAX_IMPL constant in stubs (#9732)

This commit is contained in:
Máté Kocsis 2022-10-12 11:42:24 +02:00 committed by GitHub
parent fd3d3117b5
commit fc11a8abcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 7 deletions

View file

@ -46,4 +46,10 @@ enum php_xml_option {
PHP_XML_OPTION_SKIP_WHITE
};
#ifdef LIBXML_EXPAT_COMPAT
#define PHP_XML_SAX_IMPL "libxml"
#else
#define PHP_XML_SAX_IMPL "expat"
#endif
#endif /* PHP_XML_H */