You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/08/14 10:01:31 UTC

svn commit: r685797 - /apr/apr/branches/1.3.x/poll/unix/epoll.c

Author: bojan
Date: Thu Aug 14 01:01:30 2008
New Revision: 685797

URL: http://svn.apache.org/viewvc?rev=685797&view=rev
Log:
Avoid compiler warning when threads are not available.

Modified:
    apr/apr/branches/1.3.x/poll/unix/epoll.c

Modified: apr/apr/branches/1.3.x/poll/unix/epoll.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/poll/unix/epoll.c?rev=685797&r1=685796&r2=685797&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/poll/unix/epoll.c (original)
+++ apr/apr/branches/1.3.x/poll/unix/epoll.c Thu Aug 14 01:01:30 2008
@@ -90,7 +90,9 @@
                                              apr_pool_t *p,
                                              apr_uint32_t flags)
 {
+#if APR_HAS_THREADS
     apr_status_t rv;
+#endif
     int fd;
 
     fd = epoll_create(size);