apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r923860 - /apr/apr/trunk/support/unix/waitio.c
Date Tue, 16 Mar 2010 16:45:51 GMT
Author: bjh
Date: Tue Mar 16 16:45:50 2010
New Revision: 923860

URL: http://svn.apache.org/viewvc?rev=923860&view=rev
Log:
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.

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=923860&r1=923859&r2=923860&view=diff
==============================================================================
--- apr/apr/trunk/support/unix/waitio.c (original)
+++ apr/apr/trunk/support/unix/waitio.c Tue Mar 16 16:45:50 2010
@@ -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
 



Mime
View raw message