cvs: php4 /ext/standard string.c
| From: | Sascha Schumann | Date: | Thu, 14 Dec 2000 15:58:15 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3154@lists.php.net to get a copy of this message | ||
sas Thu Dec 14 07:58:15 2000 EDT
Modified files:
/php4/ext/standard string.c
Log:
Don't define LC_MESSAGES, if LC_MESSAGES is not defined.
PR: #8259
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.171 php4/ext/standard/string.c:1.172
--- php4/ext/standard/string.c:1.171 Wed Dec 13 02:22:36 2000
+++ php4/ext/standard/string.c Thu Dec 14 07:58:14 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.171 2000/12/13 10:22:36 stas Exp $ */
+/* $Id: string.c,v 1.172 2000/12/14 15:58:14 sas Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -60,7 +60,7 @@
REGISTER_LONG_CONSTANT("LC_COLLATE", LC_COLLATE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("LC_MONETARY", LC_MONETARY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("LC_ALL", LC_ALL, CONST_CS | CONST_PERSISTENT);
-# if !PHP_WIN32
+# ifdef LC_MESSAGES
REGISTER_LONG_CONSTANT("LC_MESSAGES", LC_MESSAGES, CONST_CS | CONST_PERSISTENT);
# endif
#endif