mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix -Wundef/C4668 warnings (#15853)
- ZTS is either undefined or defined (to 1) - PHP_WIN32 is either undefined or defined (to 1) - HAVE_LIBEDIT is either undefined or defined (to 1)
This commit is contained in:
parent
f6a232cce2
commit
888eb370cf
7 changed files with 7 additions and 7 deletions
|
@ -1276,7 +1276,7 @@ static zend_result xmlreader_fixup_temporaries(void) {
|
|||
++xmlreader_open_fn.T;
|
||||
++xmlreader_xml_fn.T;
|
||||
}
|
||||
#if !ZTS
|
||||
#ifndef ZTS
|
||||
ZEND_MAP_PTR(xmlreader_open_fn.run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "open", sizeof("open")-1))->run_time_cache);
|
||||
ZEND_MAP_PTR(xmlreader_xml_fn.run_time_cache) = ZEND_MAP_PTR(((zend_internal_function *)zend_hash_str_find_ptr(&xmlreader_class_entry->function_table, "xml", sizeof("xml")-1))->run_time_cache);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue