From eb478010e910121da6dbaa07b4e53b11776bba81 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 18 Mar 2011 20:17:56 +0000 Subject: 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 --- support/unix/waitio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') 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 -- cgit v1.2.1