diff options
-rw-r--r-- | c/src/exec/libcsupport/src/libio.c | 2 | ||||
-rw-r--r-- | c/src/lib/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libc/libio.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/libio.c | 2 |
4 files changed, 10 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/libio.c b/c/src/exec/libcsupport/src/libio.c index 66617700a3..defc156aa0 100644 --- a/c/src/exec/libcsupport/src/libio.c +++ b/c/src/exec/libcsupport/src/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 diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog index 2691d00a00..1125d4f349 100644 --- a/c/src/lib/ChangeLog +++ b/c/src/lib/ChangeLog @@ -1,4 +1,8 @@ +2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * libc/libio.c: Special treatment of O_NDELAY for Cygwin. + 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. 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 diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c index 66617700a3..defc156aa0 100644 --- a/cpukit/libcsupport/src/libio.c +++ b/cpukit/libcsupport/src/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 |