From cbd886871310aa5418dea0435b7762779b42d294 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 20 Apr 2001 16:36:17 +0000 Subject: * include/sys/file.h: More cleanup for X_OK. --- winsup/cygwin/include/sys/file.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/include/sys/file.h') diff --git a/winsup/cygwin/include/sys/file.h b/winsup/cygwin/include/sys/file.h index 85f9f4c74..463682a7b 100644 --- a/winsup/cygwin/include/sys/file.h +++ b/winsup/cygwin/include/sys/file.h @@ -22,12 +22,10 @@ #define L_INCR 1 #define L_XTND 2 - #define F_OK 0 /* does file exist */ -#define _X_OK 1 /* is it executable by caller */ #undef X_OK -#if defined (__CYGWIN__) || defined (__INSIDE_CYGWIN__) -# define X_OK _X_OK /* Check for execute permission. */ +#if defined (__INSIDE_CYGWIN__) +# define X_OK 1 /* is it executable by caller */ #else extern const unsigned _cygwin_X_OK; # define X_OK _cygwin_X_OK -- cgit v1.2.3