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 2001/09/13 19:52:23 UTC
cvs commit: apr/include apr_thread_cond.h
trawick 01/09/13 10:52:23
Modified: include apr_thread_cond.h
Log:
thread condition stuff isn't available if !APR_HAS_THREADS... this gets
Apache's exports.c to compile again when !APR_HAS_THREADS
Revision Changes Path
1.2 +3 -0 apr/include/apr_thread_cond.h
Index: apr_thread_cond.h
===================================================================
RCS file: /home/cvs/apr/include/apr_thread_cond.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apr_thread_cond.h 2001/09/13 01:04:22 1.1
+++ apr_thread_cond.h 2001/09/13 17:52:23 1.2
@@ -64,6 +64,8 @@
extern "C" {
#endif /* __cplusplus */
+#if APR_HAS_THREADS
+
/**
* @file apr_thread_cond.h
* @brief APR Condition Variable Routines
@@ -128,6 +130,7 @@
*/
APR_DECLARE(apr_status_t) apr_thread_cond_destroy(apr_thread_cond_t *cond);
+#endif /* APR_HAS_THREADS */
#ifdef __cplusplus
}