aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
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
}