From 7145d1a21ad480103c3069ca6d631a1589297601 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 14 Aug 1999 09:55:43 +0000 Subject: [PATCH] - Make the non-threadsafe version compile again --- main/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/main.c b/main/main.c index 63f0519f21..ed599f9742 100644 --- a/main/main.c +++ b/main/main.c @@ -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 -- 2.40.0