Allow -DHC_USE_THREADS=0
authorJim Jagielski <jim@apache.org>
Wed, 18 Jan 2017 15:46:58 +0000 (15:46 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 18 Jan 2017 15:46:58 +0000 (15:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1779349 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index 82ea3c9828f2631f4620f2c1c6adc25a844161f0..2a1c1b81ea8e0a36fceb29ff27ef07ee51f8da73 100644 (file)
@@ -28,7 +28,9 @@ module AP_MODULE_DECLARE_DATA proxy_hcheck_module;
 
 /* Why? So we can easily set/clear HC_USE_THREADS during dev testing */
 #if APR_HAS_THREADS
+#ifndef HC_USE_THREADS
 #define HC_USE_THREADS 1
+#endif
 #else
 #define HC_USE_THREADS 0
 typedef void apr_thread_pool_t;