Commit: e43c5a83957c6a9953a74b5403a5f1d5ae341770 Author: Anatol Belski <a...@php.net> Thu, 14 Mar 2013 14:38:20 +0100 Parents: f1e2edff8befb7863723adbe5680ce3d9714d9ed Branches: PHP-5.3 PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e43c5a83957c6a9953a74b5403a5f1d5ae341770 Log: fix zts check Changed paths: M ext/pcre/php_pcre.c Diff: diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index cab3a4c..fe72dbc 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -250,7 +250,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_le pcre_cache_entry new_entry; #if HAVE_SETLOCALE -# ifdef PHP_WIN32 && ZTS +# if defined(PHP_WIN32) && defined(ZTS) _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); # endif locale = setlocale(LC_CTYPE, NULL); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php