From 2346b3e1cb92bb5e2e9d2525a96368e5ef94848a Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 4 Mar 2005 17:42:55 +0000 Subject: * file.c (eaccess): workaround for VC++8 runtime. * win32/win32.c (ioinfo): VC++8 support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index 1b31a5220..798615669 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 } -- cgit