mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Sync #if/ifdef/defined for LIBXML_EXPAT_COMPAT (#14435)
This one can be undefined or defined to value 1.
This commit is contained in:
parent
c8a8d8aba3
commit
5b35740098
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ static int xml_parse_helper(xml_parser *parser, const char *data, size_t data_le
|
||||||
ZEND_ASSERT(!parser->isparsing);
|
ZEND_ASSERT(!parser->isparsing);
|
||||||
|
|
||||||
/* libxml2 specific options */
|
/* libxml2 specific options */
|
||||||
#if LIBXML_EXPAT_COMPAT
|
#ifdef LIBXML_EXPAT_COMPAT
|
||||||
/* See xmlInitSAXParserCtxt() and xmlCtxtUseOptions() */
|
/* See xmlInitSAXParserCtxt() and xmlCtxtUseOptions() */
|
||||||
if (parser->parsehuge) {
|
if (parser->parsehuge) {
|
||||||
parser->parser->parser->options |= XML_PARSE_HUGE;
|
parser->parser->parser->options |= XML_PARSE_HUGE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue