1
0
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:
Peter Kokot
2024-06-02 15:39:42 +02:00
committed by GitHub
parent c8a8d8aba3
commit 5b35740098

View File

@@ -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;