summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>2013-10-03 14:30:17 +0000
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>2013-10-03 14:30:17 +0000
commit560c40712b644bcec740e219edd2018c2b2f0625 (patch)
tree9e46cab8500dd40390902a0fa04df8ac097b2c56 /support
parent4c6ad205ea9898eba7b55ea968abc1f12187a54c (diff)
downloadlibapr-560c40712b644bcec740e219edd2018c2b2f0625.tar.gz
fix compile failure with MinGW toolchain
PR: 46175 (this is but a small part of the patch) Submitted by: Carlo Bramini Reviewed by: trawick Backport of r1083038 from trunk. fix a bit of 'if FOO'/'ifdef FOO' confusion Backport of r1086695 from trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1528889 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-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..0d762ea6d 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 !defined(BEOS_R5) && !defined(OS2) && APR_FILES_AS_SOCKETS
#define USE_WAIT_FOR_IO
#endif