diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-10-24 22:15:25 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-10-24 22:15:25 +0400 |
commit | 90bb77ddcb94446768b3a6d5be35bad3f63c69df (patch) | |
tree | 62b3dcc1f518c72e6bc844c39530fe81e6923362 /winsup/cygwin/winsup.h | |
parent | 902047f40e05387306ddb85c7d4e2c75ce56952c (diff) |
* fhandler.cc (fhandler_base::fcntl): Behave properly when passed
previous version of O_NDELAY.
* syscalls.cc: Move OLD_O_NDELAY to winsup.h.
* winsup.h: Define OLD_O_NDELAY now.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index f308d6de3..dbbcb620e 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -252,6 +252,11 @@ extern void (*__DTOR_LIST__) (void); #define O_NOSYMLINK 0x080000 #define O_DIROPEN 0x100000 +/* newlib used to define O_NDELAY differently from O_NONBLOCK. Now it + properly defines both to be the same. Unfortunately, we have to + behave properly the old version, too, to accomodate older executables. */ +#define OLD_O_NDELAY 4 + /* The title on program start. */ extern char *old_title; extern BOOL display_title; |