httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1821644 - /httpd/httpd/trunk/server/mpm_fdqueue.c
Date Fri, 19 Jan 2018 12:40:05 GMT
Author: ylavic
Date: Fri Jan 19 12:40:05 2018
New Revision: 1821644

URL: http://svn.apache.org/viewvc?rev=1821644&view=rev
Log:
mpm_fdqueue: follow up to r1821624.

The implemention wants APR_HAS_THREADS too.


Modified:
    httpd/httpd/trunk/server/mpm_fdqueue.c

Modified: httpd/httpd/trunk/server/mpm_fdqueue.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_fdqueue.c?rev=1821644&r1=1821643&r2=1821644&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm_fdqueue.c (original)
+++ httpd/httpd/trunk/server/mpm_fdqueue.c Fri Jan 19 12:40:05 2018
@@ -16,6 +16,8 @@
 
 #include "mpm_fdqueue.h"
 
+#if APR_HAS_THREADS
+
 #include <apr_atomic.h>
 
 static const apr_uint32_t zero_pt = APR_UINT32_MAX/2;
@@ -535,3 +537,5 @@ apr_status_t ap_queue_term(fd_queue_t *q
 {
     return queue_interrupt(queue, 1, 1);
 }
+
+#endif /* APR_HAS_THREADS */



Mime
View raw message