summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-03-14 14:39:47 +0100
committerAnatol Belski <ab@php.net>2013-03-14 14:39:47 +0100
commit96388c78c978101a84dc2ccc8b02948f0fb5999f (patch)
tree492efa4b48ac3ca38ee4b3fce6dd4868cb857f0c /ext/pcre/php_pcre.c
parentdd1c358d1bf8fd492e39d46f93878d47a3b6d257 (diff)
parent5df8cf19759c77ee05fe6eecba7088caecbe132e (diff)
downloadphp-git-96388c78c978101a84dc2ccc8b02948f0fb5999f.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: 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 b1ee89a8a4..7d34d9feb1 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -251,7 +251,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_le
char *tmp = NULL;
#if HAVE_SETLOCALE
-# ifdef PHP_WIN32 && ZTS
+# if defined(PHP_WIN32) && defined(ZTS)
_configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
# endif
locale = setlocale(LC_CTYPE, NULL);