1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* file.c (eaccess): workaround for VC++8 runtime.

* win32/win32.c (ioinfo): VC++8 support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2005-03-04 17:42:55 +00:00
parent 49af08e188
commit 302b8ff055
3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Sat Mar 5 02:41:00 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* file.c (eaccess): workaround for VC++8 runtime.
* win32/win32.c (ioinfo): VC++8 support.
Fri Mar 4 19:39:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace

3
file.c
View file

@ -832,6 +832,9 @@ eaccess(path, mode)
return -1;
#else
# if _MSC_VER >= 1400
mode &= 6;
# endif
return access(path, mode);
#endif
}

View file

@ -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__