]> granicus.if.org Git - php/commitdiff
- windows only
authorPierre Joye <pajoye@php.net>
Tue, 15 Mar 2011 17:14:32 +0000 (17:14 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 15 Mar 2011 17:14:32 +0000 (17:14 +0000)
main/SAPI.c

index 9a41289a3ea14763c123eeefab6c36f3af03d947..250b796562ee9e1ec89ee51222553fc6a0d30183 100644 (file)
@@ -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