diff --git a/ChangeLog b/ChangeLog index 31ad88f11c..720003d356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Jun 27 16:04:05 2006 WATANABE Hirofumi + + * 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. + Tue Jun 27 11:36:02 2006 Nobuyoshi Nakada * ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and @@ -10418,7 +10425,7 @@ Sat Apr 24 10:38:31 2004 Dave Thomas Fri Apr 23 23:26:13 2004 Nobuyoshi Nakada * lib/mkmf.rb: $hdrdir should not contain macros for backward - compatibilitiy. [bruby-dev:28] + compatibility. [bruby-dev:28] * version.c (ruby_show_copyright): obtain copyright year from RUBY_RELEASE_YEAR. diff --git a/configure.in b/configure.in index 1c7e7bcace..cd12139236 100644 --- a/configure.in +++ b/configure.in @@ -349,6 +349,7 @@ mingw*) if test "$with_winsock2" = yes; then ac_cv_header_sys_param_h=no ac_cv_header_sys_resource_h=no ac_cv_header_sys_select_h=no + ac_cv_header_sys_time_h=no ac_cv_header_sys_times_h=no ac_cv_func_times=yes ac_cv_func_waitpid=yes 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 ***);