]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* os/unix/os.h: Define AP_NEED_SET_MUTEX_PERMS.
authorJoe Orton <jorton@apache.org>
Tue, 12 Oct 2004 11:55:30 +0000 (11:55 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 12 Oct 2004 11:55:30 +0000 (11:55 +0000)
* modules/mappers/mod_rewrite.c, modules/ssl/ssl_engine_mutex.c: Use
AP_NEED_SET_MUTEX_PERMS to determine whether unixd_set_*_mutex_perms
calls are necessary.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@105411 13f79535-47bb-0310-9956-ffa450edef68

ssl_engine_mutex.c

index 2756107c3235f5a8e04f3b6ea83d040b4a3bb523..9e69879a60ea8503dea3a0ca113bf1adb6ee0899 100644 (file)
@@ -28,9 +28,9 @@
                                              -- Unknown     */
 
 #include "ssl_private.h"
-#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
+
+#ifdef AP_NEED_SET_MUTEX_PERMS
 #include "unixd.h"
-#define MOD_SSL_SET_MUTEX_PERMS /* XXX Apache should define something */
 #endif
 
 int ssl_mutex_init(server_rec *s, apr_pool_t *p)
@@ -57,7 +57,7 @@ int ssl_mutex_init(server_rec *s, apr_pool_t *p)
         return FALSE;
     }
 
-#ifdef MOD_SSL_SET_MUTEX_PERMS
+#ifdef AP_NEED_SET_MUTEX_PERMS
     rv = unixd_set_global_mutex_perms(mc->pMutex);
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,