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:
parent
49af08e188
commit
302b8ff055
3 changed files with 13 additions and 0 deletions
|
@ -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>
|
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
|
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#do_includes): replace
|
||||||
|
|
3
file.c
3
file.c
|
@ -832,6 +832,9 @@ eaccess(path, mode)
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
mode &= 6;
|
||||||
|
# endif
|
||||||
return access(path, mode);
|
return access(path, mode);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1585,6 +1585,10 @@ typedef struct {
|
||||||
int lockinitflag;
|
int lockinitflag;
|
||||||
CRITICAL_SECTION lock;
|
CRITICAL_SECTION lock;
|
||||||
#endif
|
#endif
|
||||||
|
#if _MSC_VER >= 1400
|
||||||
|
char textmode;
|
||||||
|
char pipech2[2];
|
||||||
|
#endif
|
||||||
} ioinfo;
|
} ioinfo;
|
||||||
|
|
||||||
#if !defined _CRTIMP || defined __MINGW32__
|
#if !defined _CRTIMP || defined __MINGW32__
|
||||||
|
|
Loading…
Reference in a new issue