diff options
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index c59f716e57..9193fd004e 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -84,7 +84,7 @@ PHP_FUNCTION(strcoll); #endif -#ifdef ZTS +#if defined(HAVE_LOCALECONV) && defined(ZTS) PHP_MINIT_FUNCTION(localeconv); PHP_MSHUTDOWN_FUNCTION(localeconv); #endif |