mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
- Make the non-threadsafe version compile again
This commit is contained in:
parent
25829488c4
commit
7145d1a21a
@ -804,9 +804,8 @@ int php_module_startup(sapi_module_struct *sf)
|
||||
zuf.get_ini_entry = php_get_ini_entry_for_zend;
|
||||
zend_startup(&zuf, NULL);
|
||||
|
||||
tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
|
||||
|
||||
#ifdef ZTS
|
||||
tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
|
||||
core_globals_id = ts_allocate_id(sizeof(php_core_globals), NULL, NULL);
|
||||
core_globals = ts_resource(core_globals_id);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user