summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-05-08 13:19:54 +0000
committerJeff Trawick <trawick@apache.org>2002-05-08 13:19:54 +0000
commitec5a585bbb3d09646aab04b220408e88b8d56d76 (patch)
tree130226453167cc76dadeb0cef19c50931f61e4a2 /os
parent9da6c1b437e7b5706078def3979578b2a3762141 (diff)
downloadhttpd-ec5a585bbb3d09646aab04b220408e88b8d56d76.tar.gz
APR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
and apr_proc_mutex_t are interchangeable git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/unix/unixd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index 16249dfe4a..21ee63b37b 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -416,14 +416,14 @@ AP_DECLARE(apr_status_t) unixd_set_proc_mutex_perms(apr_proc_mutex_t *pmutex)
AP_DECLARE(apr_status_t) unixd_set_global_mutex_perms(apr_global_mutex_t *gmutex)
{
-#if !APR_PROCESS_LOCK_IS_GLOBAL
+#if !APR_PROC_MUTEX_IS_GLOBAL
apr_os_global_mutex_t osgmutex;
apr_os_global_mutex_get(&osgmutex, gmutex);
return unixd_set_proc_mutex_perms(osgmutex.proc_mutex);
-#else /* APR_PROCESS_LOCK_IS_GLOBAL */
+#else /* APR_PROC_MUTEX_IS_GLOBAL */
/* In this case, apr_proc_mutex_t and apr_global_mutex_t are the same. */
- return unixd_set_proc_mutex_perms((apr_proc_mutex_t *)gmutex);
-#endif /* APR_PROCESS_LOCK_IS_GLOBAL */
+ return unixd_set_proc_mutex_perms(gmutex);
+#endif /* APR_PROC_MUTEX_IS_GLOBAL */
}
AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr,