summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2004-12-10 14:11:31 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2004-12-10 14:11:31 +0000
commit3354e9961655e69a4eb27b37e5c8f27507c653a1 (patch)
tree2b8a1678dd0f2640acb4751830eb860d1bb3506d
parent54f5bff5ad6b8310fe98e6d3832ce70aca69934d (diff)
downloadlibapr-3354e9961655e69a4eb27b37e5c8f27507c653a1.tar.gz
Fix a check.
Contributed by: Ingo Weinhold <bonefish at cs dot tu-berlin dot de> Reviewed by: David Reid git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111508 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/unix/pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/unix/pipe.c b/file_io/unix/pipe.c
index 7013160cd..c32613f44 100644
--- a/file_io/unix/pipe.c
+++ b/file_io/unix/pipe.c
@@ -42,7 +42,7 @@ static apr_status_t pipeblock(apr_file_t *thepipe)
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 @@ static apr_status_t pipenonblock(apr_file_t *thepipe)
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...*/