summaryrefslogtreecommitdiffstats
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
commit59027443c9fe2198044dcf92ebcca39e22f9f0ab (patch)
treeb84dc001d0e77844dbf9e46bd605073784b12cc0 /win32
parentee20ef1e0a960417edcb283d424ecb997174d5a3 (diff)
downloadruby-59027443c9fe2198044dcf92ebcca39e22f9f0ab.tar.gz
ruby-59027443c9fe2198044dcf92ebcca39e22f9f0ab.tar.xz
ruby-59027443c9fe2198044dcf92ebcca39e22f9f0ab.zip
* 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: http://svn.ruby-lang.org/repos/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 7c21c2dcd..86f5a2cae 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 ***);