]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Ignore AcceptMutex directive if it is present in an Apache on Windows config
authorBill Stoddard <stoddard@apache.org>
Tue, 26 Feb 2002 15:01:35 +0000 (15:01 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 26 Feb 2002 15:01:35 +0000 (15:01 +0000)
file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93573 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_main.c

index 9afa419e6cfb551a5f04a6f2cbb814b2a845ee3a..50f4bf8b3d08a0c282a211c08e74623148ebdb5a 100644 (file)
@@ -1312,6 +1312,8 @@ char *ap_init_mutex_method(char *t)
     } else
 #endif
     {
+/* Ignore this directive on Windows */
+#ifndef WIN32
     if (server_conf) {
         ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, server_conf,
                     "Requested serialization method '%s' not available",t);
@@ -1320,6 +1322,7 @@ char *ap_init_mutex_method(char *t)
         fprintf(stderr, "Requested serialization method '%s' not available\n", t);
         exit(APEXIT_INIT);
     }
+#endif
     }
     return NULL;
 }