mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01: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:
@@ -270,7 +270,7 @@ static int xml_parse_helper(xml_parser *parser, const char *data, size_t data_le
|
||||
ZEND_ASSERT(!parser->isparsing);
|
||||
|
||||
/* libxml2 specific options */
|
||||
#if LIBXML_EXPAT_COMPAT
|
||||
#ifdef LIBXML_EXPAT_COMPAT
|
||||
/* See xmlInitSAXParserCtxt() and xmlCtxtUseOptions() */
|
||||
if (parser->parsehuge) {
|
||||
parser->parser->parser->options |= XML_PARSE_HUGE;
|
||||
|
||||
Reference in New Issue
Block a user