]> granicus.if.org Git - apache/commitdiff
don't use workaround on trunk
authorEric Covener <covener@apache.org>
Tue, 14 Aug 2018 21:25:54 +0000 (21:25 +0000)
committerEric Covener <covener@apache.org>
Tue, 14 Aug 2018 21:25:54 +0000 (21:25 +0000)
it breaks the build w/ maintainer mode.

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

modules/md/mod_md.c
modules/md/mod_md_os.c

index 249a0f000e571e51912ce3935520e17b98487a72..2f682835cd2c87248e9c5fd2fff0923efc1fcda3 100644 (file)
 #include <apr_strings.h>
 
 #include <ap_release.h>
+#include <ap_mmn.h>
+#if !AP_MODULE_MAGIC_AT_LEAST(20180720, 5)
 #ifndef AP_ENABLE_EXCEPTION_HOOK
 #define AP_ENABLE_EXCEPTION_HOOK 0
 #endif
+#endif
 #include <mpm_common.h>
 #include <httpd.h>
 #include <http_core.h>
index f96d5667c0a9074814606698e0e08427dc45f016..6f0b121e1ee1bfd3ce53cffdb35da224d9c799ea 100644 (file)
 #include <assert.h>
 #include <apr_strings.h>
 
+#include <ap_mmn.h>
+#if !AP_MODULE_MAGIC_AT_LEAST(20180720, 5)
 #ifndef AP_ENABLE_EXCEPTION_HOOK
 #define AP_ENABLE_EXCEPTION_HOOK 0
 #endif
+#endif
 
 #include <mpm_common.h>
 #include <httpd.h>