summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2010-03-16 16:45:50 +0000
committerBrian Havard <bjh@apache.org>2010-03-16 16:45:50 +0000
commitbe413473bc5ef1b68edfbd70598eb4d1cc290e50 (patch)
tree3ce043cdb0afefc075798523315df56e255f5642
parent71421980b6f0c5c0402ea89d88d88e3fef3720df (diff)
downloadapr-be413473bc5ef1b68edfbd70598eb4d1cc290e50.tar.gz
OS/2: Disable building apr_wait_for_io_or_timeout() on OS/2 as it doesn't
compile due to files not having a pollset (and it wouldn't make any sense to add one as files can't be polled anyway). It also doesn't help much as using select() directly almost as easy and more efficient. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@923860 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--support/unix/waitio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/unix/waitio.c b/support/unix/waitio.c
index 7232cdd9c..a30ec4a73 100644
--- a/support/unix/waitio.c
+++ b/support/unix/waitio.c
@@ -22,7 +22,7 @@
/* 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
+#if !BEOS_R5 && !defined(OS2)
#define USE_WAIT_FOR_IO
#endif