summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-04 17:42:55 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-04 17:42:55 +0000
commit302b8ff05519b9b9387b56bf1e3fdc41834716a4 (patch)
tree6daab4fee2e2e97e13ebd5cbed06915d6a733ec1 /file.c
parent49af08e1887326f74cabef7b92dfd814ad7c144b (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/trunk@8072 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 1b31a52207..798615669f 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
}