trawick 02/05/06 13:02:28
Modified: locks/unix global_mutex.c
Log:
get global_mutex.c to compile when APR_PROCESS_LOCK_IS_GLOBAL
Revision Changes Path
1.6 +2 -0 apr/locks/unix/global_mutex.c
Index: global_mutex.c
===================================================================
RCS file: /home/cvs/apr/locks/unix/global_mutex.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- global_mutex.c 2 May 2002 00:52:01 -0000 1.5
+++ global_mutex.c 6 May 2002 20:02:28 -0000 1.6
@@ -179,6 +179,7 @@
return APR_SUCCESS;
}
+#if !APR_PROCESS_LOCK_IS_GLOBAL
APR_DECLARE(apr_status_t) apr_os_global_mutex_get(apr_os_global_mutex_t
*ospmutex,
apr_global_mutex_t *pmutex)
{
@@ -189,6 +190,7 @@
#endif
return APR_SUCCESS;
}
+#endif
APR_DECLARE(apr_status_t) apr_global_mutex_destroy(apr_global_mutex_t *mutex)
{