cvs: php4(PHP_4_3) /ext/standard string.c
| From: | Melvyn Sopacua | Date: | Mon, 26 May 2003 20:56:01 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21273@lists.php.net to get a copy of this message | ||
msopacua Mon May 26 16:56:01 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard string.c
Log:
Make LC_MESSAGES available, for platforms that don't have it natively,
when gettext is compiled in.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.333.2.28 php4/ext/standard/string.c:1.333.2.29
--- php4/ext/standard/string.c:1.333.2.28 Sun May 25 22:00:37 2003
+++ php4/ext/standard/string.c Mon May 26 16:56:01 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.333.2.28 2003/05/26 02:00:37 iliaa Exp $ */
+/* $Id: string.c,v 1.333.2.29 2003/05/26 20:56:01 msopacua Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -36,6 +36,9 @@
#endif
#ifdef HAVE_MONETARY_H
# include <monetary.h>
+#endif
+#ifdef HAVE_LIBINTL
+# include <libintl.h> /* for LC_MESSAGES */
#endif
#include "scanf.h"
#include "zend_API.h"