summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-03-14 14:38:20 +0100
committerAnatol Belski <ab@php.net>2013-03-14 14:38:20 +0100
commite43c5a83957c6a9953a74b5403a5f1d5ae341770 (patch)
tree5d2a05eecb4af305fc446a97d632b65b119823bb /ext/pcre/php_pcre.c
parentf1e2edff8befb7863723adbe5680ce3d9714d9ed (diff)
downloadphp-git-e43c5a83957c6a9953a74b5403a5f1d5ae341770.tar.gz
fix zts check
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
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);