summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-03-18 20:17:56 +0000
committerJeff Trawick <trawick@apache.org>2011-03-18 20:17:56 +0000
commiteb478010e910121da6dbaa07b4e53b11776bba81 (patch)
tree8d9953ff2a7acd7109887ecb17cf782049b284c7 /support
parent7734805806db372b3dca94bf12735d5aaceffc8a (diff)
downloadapr-eb478010e910121da6dbaa07b4e53b11776bba81.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 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1083038 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 a30ec4a73..19b8b1d6b 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 && !defined(OS2)
+#if !BEOS_R5 && !defined(OS2) && APR_FILES_AS_SOCKETS
#define USE_WAIT_FOR_IO
#endif