Merge branch 'PHP-5.5'

* PHP-5.5:
  fix zts check
This commit is contained in:
Anatol Belski 2013-03-14 14:40:03 +01:00
commit 657135c16a

View File

@ -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);