Skip to content

Commit 5df8cf1

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: fix zts check
2 parents 0777a18 + e43c5a8 commit 5df8cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcre/php_pcre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_le
251251
char *tmp = NULL;
252252

253253
#if HAVE_SETLOCALE
254-
# ifdef PHP_WIN32 && ZTS
254+
# if defined(PHP_WIN32) && defined(ZTS)
255255
_configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
256256
# endif
257257
locale = setlocale(LC_CTYPE, NULL);

0 commit comments

Comments
 (0)