summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-10 14:23:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-11-10 14:23:46 +0000
commit5dc2b66d71feca1c48a721403a937c0b13dda1b3 (patch)
tree566ee2e8c0ed94269b4cbbd056438cac0009b287 /cpukit/libcsupport/src
parent2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-5dc2b66d71feca1c48a721403a937c0b13dda1b3.tar.bz2
2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/libio.c: Special treatment of O_NDELAY for Cygwin.
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r--cpukit/libcsupport/src/libio.c2
1 files changed, 2 insertions, 0 deletions
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