summaryrefslogtreecommitdiff
path: root/file_io/unix/readwrite.c
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-06-13 16:30:40 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2000-06-13 16:30:40 +0000
commit67d398bf1c1dbbf6efd4fb66ef710e7d82203397 (patch)
tree95b1775ee8a69d449e125fc0cd8c702c6e16a4bd /file_io/unix/readwrite.c
parentd8d208966fff3221ebf9e4f4d1ff7d1a3acaee64 (diff)
downloadlibapr-67d398bf1c1dbbf6efd4fb66ef710e7d82203397.tar.gz
This starts to take the BeOS defines into the source. I've added support
for blocking/non-blocking of pipes as cleanly as I could and have changed the indentation to try and make it clearer. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60195 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix/readwrite.c')
-rw-r--r--file_io/unix/readwrite.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file_io/unix/readwrite.c b/file_io/unix/readwrite.c
index aa3668ebb..50efa2383 100644
--- a/file_io/unix/readwrite.c
+++ b/file_io/unix/readwrite.c
@@ -55,7 +55,9 @@
#include "fileio.h"
#include "apr_lock.h"
-#if !BEOS || (BEOS && HAVE_ARPA_INET_H)
+/* The only case where we don't use wait_for_io_or_timeout is on
+ * pre-BONE BeOS, so this check should be sufficient and simpler */
+#if !BEOS_R5
#define USE_WAIT_FOR_IO
#endif