summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-27 07:21:31 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-27 07:21:31 +0000
commit76f1a4f010870cea8b792bad493fc0c0e4abea36 (patch)
treeb84dc001d0e77844dbf9e46bd605073784b12cc0 /win32
parent9171f6863a8346c69944387d993d5e58f95c33a3 (diff)
* win32/win32.h: define isascii on MinGW for msvcrt compatibility.
* configure.in: set ac_cv_header_sys_time_h=no on MinGW for msvcrt compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 7c21c2dcd2..86f5a2cae3 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -160,6 +160,8 @@ struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
+#undef isascii
+#define isascii __isascii
#endif
extern void NtInitialize(int *, char ***);
extern int rb_w32_cmdvector(const char *, char ***);