diff options
Diffstat (limited to 'winsup/mingw/include/io.h')
-rw-r--r-- | winsup/mingw/include/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h index 45e04110f..926510236 100644 --- a/winsup/mingw/include/io.h +++ b/winsup/mingw/include/io.h @@ -182,7 +182,7 @@ _CRTIMP int __cdecl chmod (const char*, int); #define F_OK 0 /* Check for file existence */ /* Well maybe it does hurt. On newer versions of MSVCRT, an access mode of 1 causes invalid parameter error. */ -#define X_OK F_OK /* MS access() doesn't check for execute permission. */ +#define X_OK 1 /* MS access() doesn't check for execute permission. */ #define W_OK 2 /* Check for write permission */ #define R_OK 4 /* Check for read permission */ |