From 5dc2b66d71feca1c48a721403a937c0b13dda1b3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 10 Nov 2000 14:23:46 +0000 Subject: 2000-11-10 Ralf Corsepius * libc/libio.c: Special treatment of O_NDELAY for Cygwin. --- c/src/lib/libc/libio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/src/lib/libc') diff --git a/c/src/lib/libc/libio.c b/c/src/lib/libc/libio.c index 66617700a3..defc156aa0 100644 --- a/c/src/lib/libc/libio.c +++ b/c/src/lib/libc/libio.c @@ -25,6 +25,8 @@ #if ! defined(O_NDELAY) # if defined(solaris2) # define O_NDELAY O_NONBLOCK +# elif defined(__CYGWIN__) +# define O_NDELAY _FNBIO # elif defined(RTEMS_NEWLIB) # define O_NDELAY _FNBIO # endif -- cgit v1.2.3