File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 45
45
#if defined(HAVE_LIBXML ) && !defined(PHP_WIN32 )
46
46
# include <libxml/globals.h>
47
47
# include <libxml/parser.h>
48
- # include "ext/dom/php_dom.h"
49
48
#endif
50
49
51
50
ZEND_DECLARE_MODULE_GLOBALS (zend_test )
@@ -378,14 +377,14 @@ static ZEND_FUNCTION(zend_test_override_libxml_global_state)
378
377
{
379
378
ZEND_PARSE_PARAMETERS_NONE ();
380
379
381
- PHP_LIBXML_IGNORE_DEPRECATIONS_START
380
+ ZEND_DIAGNOSTIC_IGNORED_START ( "-Wdeprecated-declarations" )
382
381
xmlLoadExtDtdDefaultValue = 1 ;
383
382
xmlDoValidityCheckingDefaultValue = 1 ;
384
383
(void ) xmlPedanticParserDefault (1 );
385
384
(void ) xmlSubstituteEntitiesDefault (1 );
386
385
(void ) xmlLineNumbersDefault (1 );
387
386
(void ) xmlKeepBlanksDefault (0 );
388
- PHP_LIBXML_IGNORE_DEPRECATIONS_END
387
+ ZEND_DIAGNOSTIC_IGNORED_END
389
388
}
390
389
#endif
391
390
You can’t perform that action at this time.
0 commit comments