From 406dd6e8ca48a637be2571436c0b65e17f9aa5a1 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 15 Mar 2011 17:14:32 +0000 Subject: [PATCH] - windows only --- main/SAPI.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/SAPI.c b/main/SAPI.c index 9a41289a3e..250b796562 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -80,7 +80,9 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) #ifdef ZTS ts_allocate_id(&sapi_globals_id, sizeof(sapi_globals_struct), (ts_allocate_ctor) sapi_globals_ctor, (ts_allocate_dtor) sapi_globals_dtor); +# ifdef PHP_WIN32 _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); +# endif #else sapi_globals_ctor(&sapi_globals); #endif -- 2.50.1