summaryrefslogtreecommitdiff
path: root/ext/calendar
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-03-22 23:31:52 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-03-22 23:31:52 +0000
commit0d2bd85a61aed484af268c482407487245cf7edc (patch)
tree4c96131d825da9302874fcf752c7edf53a64857c /ext/calendar
parent170de9b95ccd41a6b9f9924a8724bef511cf1999 (diff)
downloadphp-git-0d2bd85a61aed484af268c482407487245cf7edc.tar.gz
Fixed win32 build, which fails with non-SBCS-compatible locale settings.
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/jewish.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/calendar/jewish.c b/ext/calendar/jewish.c
index b83f4fa04f..3dbb01c26a 100644
--- a/ext/calendar/jewish.c
+++ b/ext/calendar/jewish.c
@@ -260,6 +260,10 @@
*
**************************************************************************/
+#ifdef PHP_WIN32
+#pragma setlocale("english")
+#endif
+
#include "sdncal.h"
#define HALAKIM_PER_HOUR 1080