summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-17 16:49:03 +0000
committerZeev Suraski <zeev@php.net>2000-06-17 16:49:03 +0000
commitda662986592131d30d4813e178c72c1d9653e644 (patch)
treedccb4509b7b35002b3c8e465b44855ab96a19668 /ext/standard/string.c
parenteb6f625d830f1797c0af7027a1f9c48e3d7e74b9 (diff)
downloadphp-git-da662986592131d30d4813e178c72c1d9653e644.tar.gz
- Fix a couple of wranings in the FTP code and in parsedate.y
- Be safer with LC_MESSAGES - Align with the latest Zend change in call_user_function_ex()
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 107e85b22c..aa32b4e4a2 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -2126,7 +2126,7 @@ PHP_FUNCTION(setlocale)
cat = LC_COLLATE;
else if (!strcasecmp ("LC_CTYPE", category->value.str.val))
cat = LC_CTYPE;
-#ifndef PHP_WIN32
+#ifdef LC_MESSAGES
else if (!strcasecmp ("LC_MESSAGES", category->value.str.val))
cat = LC_MESSAGES;
#endif