com php-src: fix zts check: ext/pcre/php_pcre.c

From: Date: Thu, 14 Mar 2013 13:38:20 +0000
Subject: com php-src: fix zts check: ext/pcre/php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-71455@lists.php.net to get a copy of this message
Commit: e43c5a83957c6a9953a74b5403a5f1d5ae341770 Author: Anatol Belski <ab@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);

« previous php.cvs (#71455) next »