Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-08 05:15:06 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-08 05:15:06 +0400
commitca60ed47488dfbbdf3aec79426f5758c814c4880 (patch)
treec5732cffca2707ef330f00a6a8e3268fed12b533 /newlib/libc/include/sys/unistd.h
parent8f2e6ee891c46bc65e2770a2dd08897b532f8a9a (diff)
* libc/include/sys/stat.h: Revert March 3, Cygwin change.
* libc/include/sys/Ditto.h: Ditto.
Diffstat (limited to 'newlib/libc/include/sys/unistd.h')
-rw-r--r--newlib/libc/include/sys/unistd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 806cc06c7..e80c942c9 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -131,14 +131,7 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
#define F_OK 0
#define R_OK 4
#define W_OK 2
-
-#undef X_OK
-#if !defined (__CYGWIN__) || defined (__INSIDE_CYGWIN__)
-# define X_OK 1
-#else
-# define X_OK _cygwin_X_OK
-extern const unsigned _cygwin_X_OK;
-#endif
+#define X_OK 1
# define SEEK_SET 0
# define SEEK_CUR 1