* include/sys/file.h: More cleanup for X_OK.
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
Fri Apr 20 12:27:49 2001  Christopher Faylor <cgf@cygnus.com>
 | 
			
		||||
 | 
			
		||||
	* include/sys/file.h: More cleanup for X_OK.
 | 
			
		||||
 | 
			
		||||
Fri Apr 20 11:48:45 2001  Christopher Faylor <cgf@cygnus.com>
 | 
			
		||||
 | 
			
		||||
	* include/sys/file.h: Move X_OK protection earlier.
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user