* include/sys/file.h: Revert special X_OK usage. Just make it a constant.
This commit is contained in:
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user