You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2011/03/18 21:17:56 UTC
svn commit: r1083038 - /apr/apr/trunk/support/unix/waitio.c
Author: trawick
Date: Fri Mar 18 20:17:56 2011
New Revision: 1083038
URL: http://svn.apache.org/viewvc?rev=1083038&view=rev
Log:
fix compile failure with MinGW toolchain
PR: 46175 (this is but a small part of the patch)
Submitted by: Carlo Bramini
Reviewed by: trawick
Modified:
apr/apr/trunk/support/unix/waitio.c
Modified: apr/apr/trunk/support/unix/waitio.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/support/unix/waitio.c?rev=1083038&r1=1083037&r2=1083038&view=diff
==============================================================================
--- apr/apr/trunk/support/unix/waitio.c (original)
+++ apr/apr/trunk/support/unix/waitio.c Fri Mar 18 20:17:56 2011
@@ -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