From: Pierre Joye Date: Tue, 15 Mar 2011 17:14:32 +0000 (+0000) Subject: - windows only X-Git-Tag: php-5.4.0alpha1~191^2~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=406dd6e8ca48a637be2571436c0b65e17f9aa5a1;p=php - windows only --- 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