cvs: php4 /ext/calendar jewish.c
| From: | Moriyoshi Koizumi | Date: | Sat, 22 Mar 2003 23:31:53 +0000 |
| Subject: | cvs: php4 /ext/calendar jewish.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19718@lists.php.net to get a copy of this message | ||
moriyoshi Sat Mar 22 18:31:53 2003 EDT
Modified files:
/php4/ext/calendar jewish.c
Log:
Fixed win32 build, which fails with non-SBCS-compatible locale settings.
Index: php4/ext/calendar/jewish.c
diff -u php4/ext/calendar/jewish.c:1.5 php4/ext/calendar/jewish.c:1.6
--- php4/ext/calendar/jewish.c:1.5 Thu Oct 31 04:16:23 2002
+++ php4/ext/calendar/jewish.c Sat Mar 22 18:31:52 2003
@@ -260,6 +260,10 @@
*
**************************************************************************/
+#ifdef PHP_WIN32
+#pragma setlocale("english")
+#endif
+
#include "sdncal.h"
#define HALAKIM_PER_HOUR 1080