From 4c585eeddb11697fc19355b22c1b306e301ee462 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 29 Dec 2005 19:55:58 +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/branches/ruby_1_8@9767 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 d97948db3..5a99742e7 100644 --- a/file.c +++ b/file.c @@ -884,6 +884,9 @@ eaccess(path, mode) return -1; #else +# if _MSC_VER >= 1400 + mode &= 6; +# endif return access(path, mode); #endif } -- cgit