]> granicus.if.org Git - apache/commitdiff
Merge r1809135 from trunk:
authorEric Covener <covener@apache.org>
Tue, 14 Aug 2018 20:56:54 +0000 (20:56 +0000)
committerEric Covener <covener@apache.org>
Tue, 14 Aug 2018 20:56:54 +0000 (20:56 +0000)
On the trunk:

mpm_common.h: guarding AP_ENABLE_EXCEPTION_HOOK against use when undefined so that -Wundef does not triggger.

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

STATUS
include/mpm_common.h

diff --git a/STATUS b/STATUS
index 43ae7019dd589eb8ea16835436a609a3a5978198..d5ba87de86966330c5d223255a85743ee1eda1c4 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -131,11 +131,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      +1: jailletc36, ylavic (by inspection), covener
      jailletc36: untested, but looks straight forward enough to vote
 
-   * core: maintainer mode fix for #if AP_ENABLE_EXCEPTION_HOOK
-      trunk: http://svn.apache.org/r1809135
-      2.4.x patch: svn merge -c 1809135 ^/httpd/httpd/trunk .
-      +1: covener, rjung, jim
-
    *) core: allow quoted paths in <IfFile>
       trunk: http://svn.apache.org/r1797844
       2.4.x patch: svn merge -c 1797844 ^/httpd/httpd/trunk .
index 69afef8c944b8854787cfdb66ef89738ec249a5d..1284a7a6a3238dd2d22e3c0982322db2da3907bc 100644 (file)
@@ -387,7 +387,7 @@ extern const char *ap_mpm_set_thread_stacksize(cmd_parms *cmd, void *dummy,
 extern void ap_core_child_status(server_rec *s, pid_t pid, ap_generation_t gen,
                                  int slot, mpm_child_status status);
 
-#if AP_ENABLE_EXCEPTION_HOOK
+#if defined(AP_ENABLE_EXCEPTION_HOOK) && AP_ENABLE_EXCEPTION_HOOK
 extern const char *ap_mpm_set_exception_hook(cmd_parms *cmd, void *dummy,
                                              const char *arg);
 #endif