summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorSean Bright <elixer@php.net>2001-01-17 20:37:49 +0000
committerSean Bright <elixer@php.net>2001-01-17 20:37:49 +0000
commit457888ac449f247278d6d6da8603cce2490c85d4 (patch)
treed3f7bfcac0860ddbeaceac85fa8960fd3fe7226c /ext/standard/php_string.h
parent62606e7789054fc036a6ccc892e8988a2f0c69ba (diff)
downloadphp-git-457888ac449f247278d6d6da8603cce2490c85d4.tar.gz
Put these back where they belong. They weren't necessary unless ZTS and
HAVE_LOCALECONV were both defined.
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h2
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