Author: dreid
Date: Fri Dec 10 06:11:31 2004
New Revision: 111508

URL: http://svn.apache.org/viewcvs?view=rev&rev=111508
Log:
Fix a check.

Contributed by: Ingo Weinhold <bonefish at cs dot tu-berlin dot de>
Reviewed by: David Reid

Modified:
   apr/apr/trunk/file_io/unix/pipe.c

Modified: apr/apr/trunk/file_io/unix/pipe.c
Url: 
http://svn.apache.org/viewcvs/apr/apr/trunk/file_io/unix/pipe.c?view=diff&rev=111508&p1=apr/apr/trunk/file_io/unix/pipe.c&r1=111507&p2=apr/apr/trunk/file_io/unix/pipe.c&r2=111508
==============================================================================
--- apr/apr/trunk/file_io/unix/pipe.c   (original)
+++ apr/apr/trunk/file_io/unix/pipe.c   Fri Dec 10 06:11:31 2004
@@ -42,7 +42,7 @@
       fd_flags &= ~O_NONBLOCK;
 #  elif defined(O_NDELAY)
       fd_flags &= ~O_NDELAY;
-#  elif defined(FNDELAY)
+#  elif defined(O_FNDELAY)
       fd_flags &= ~O_FNDELAY;
 #  else 
       /* XXXX: this breaks things, but an alternative isn't obvious...*/
@@ -77,7 +77,7 @@
       fd_flags |= O_NONBLOCK;
 #  elif defined(O_NDELAY)
       fd_flags |= O_NDELAY;
-#  elif defined(FNDELAY)
+#  elif defined(O_FNDELAY)
       fd_flags |= O_FNDELAY;
 #  else
       /* XXXX: this breaks things, but an alternative isn't obvious...*/

Reply via email to