diff --git a/ChangeLog b/ChangeLog index a5eb7c0a2f..310b642013 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 5 02:41:00 2005 NAKAMURA Usaku + + * file.c (eaccess): workaround for VC++8 runtime. + + * win32/win32.c (ioinfo): VC++8 support. + Fri Mar 4 19:39:55 2005 Nobuyoshi Nakada * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace diff --git a/file.c b/file.c index 1b31a52207..798615669f 100644 --- a/file.c +++ b/file.c @@ -832,6 +832,9 @@ eaccess(path, mode) return -1; #else +# if _MSC_VER >= 1400 + mode &= 6; +# endif return access(path, mode); #endif } diff --git a/win32/win32.c b/win32/win32.c index 31b0eb07aa..98ce51b719 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1585,6 +1585,10 @@ typedef struct { int lockinitflag; CRITICAL_SECTION lock; #endif +#if _MSC_VER >= 1400 + char textmode; + char pipech2[2]; +#endif } ioinfo; #if !defined _CRTIMP || defined __MINGW32__