From ef8b659086c7867e9fb182c3e2fb6f58c7c5edf3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 8 May 2001 01:36:50 +0000 Subject: * include/sys/file.h: Revert special X_OK usage. Just make it a constant. --- winsup/cygwin/include/sys/file.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'winsup/cygwin/include/sys') diff --git a/winsup/cygwin/include/sys/file.h b/winsup/cygwin/include/sys/file.h index 463682a7b..dbf2ea88a 100644 --- a/winsup/cygwin/include/sys/file.h +++ b/winsup/cygwin/include/sys/file.h @@ -23,13 +23,7 @@ #define L_XTND 2 #define F_OK 0 /* does file exist */ -#undef X_OK -#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 -#endif +#define X_OK 1 /* is it executable by caller */ #define W_OK 2 /* is it writable by caller */ #define R_OK 4 /* is it readable by caller */ -- cgit v1.2.3