diff options
author | Anatol Belski <ab@php.net> | 2013-03-14 14:38:20 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-03-14 14:38:20 +0100 |
commit | e43c5a83957c6a9953a74b5403a5f1d5ae341770 (patch) | |
tree | 5d2a05eecb4af305fc446a97d632b65b119823bb /ext/pcre/php_pcre.c | |
parent | f1e2edff8befb7863723adbe5680ce3d9714d9ed (diff) | |
download | php-git-e43c5a83957c6a9953a74b5403a5f1d5ae341770.tar.gz |
fix zts check
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index cab3a4c8dd..fe72dbc9c9 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); |