You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@apache.org on 2001/09/05 02:33:49 UTC
cvs commit: apr/include apr_thread_mutex.h
rbb 01/09/04 17:33:49
Modified: include apr_thread_mutex.h
Log:
Fix the APR compile when --disable-threads is specified.
Submitted by: Justin Erenkrantz <je...@ebuilt.com>
Revision Changes Path
1.2 +4 -0 apr/include/apr_thread_mutex.h
Index: apr_thread_mutex.h
===================================================================
RCS file: /home/cvs/apr/include/apr_thread_mutex.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apr_thread_mutex.h 2001/09/04 23:28:50 1.1
+++ apr_thread_mutex.h 2001/09/05 00:33:49 1.2
@@ -63,6 +63,8 @@
extern "C" {
#endif /* __cplusplus */
+#if APR_HAS_THREADS
+
/**
* @file apr_thread_mutex.h
* @brief APR Thread Mutex Routines
@@ -111,6 +113,8 @@
* @param mutex the mutex to destroy.
*/
APR_DECLARE(apr_status_t) apr_thread_mutex_destroy(apr_thread_mutex_t *mutex);
+
+#endif
#ifdef __cplusplus
}