diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-06 20:02:28 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-06 20:02:28 +0000 |
commit | 148fa7a4d242d8618cb635edc26ceda16da34822 (patch) | |
tree | b093a87a20b900d19d640338ae65727e609331f0 /locks | |
parent | 484342c30b899c0a6a3719a329ce9a0a45200a01 (diff) | |
download | libapr-148fa7a4d242d8618cb635edc26ceda16da34822.tar.gz |
get global_mutex.c to compile when APR_PROCESS_LOCK_IS_GLOBAL
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r-- | locks/unix/global_mutex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/locks/unix/global_mutex.c b/locks/unix/global_mutex.c index 763d0b0b5..de3f43541 100644 --- a/locks/unix/global_mutex.c +++ b/locks/unix/global_mutex.c @@ -179,6 +179,7 @@ APR_DECLARE(apr_status_t) apr_global_mutex_unlock(apr_global_mutex_t *mutex) 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 @@ APR_DECLARE(apr_status_t) apr_os_global_mutex_get(apr_os_global_mutex_t *ospmute #endif return APR_SUCCESS; } +#endif APR_DECLARE(apr_status_t) apr_global_mutex_destroy(apr_global_mutex_t *mutex) { |