summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 19:55:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 19:55:58 +0000
commit34664e81afd72ac8e639083559dfc10821f26d95 (patch)
treefc01ee575731229c6460eeebc847e3b1c904c04d /file.c
parent40d985b57b34dc7cdcb5013b894f70eeed777d63 (diff)
* 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/branches/ruby_1_8@9767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.c b/file.c
index d97948d..5a99742 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
}