You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2017/09/21 09:20:15 UTC

svn commit: r1809135 - /httpd/httpd/trunk/include/mpm_common.h

Author: icing
Date: Thu Sep 21 09:20:14 2017
New Revision: 1809135

URL: http://svn.apache.org/viewvc?rev=1809135&view=rev
Log:
On the trunk:

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


Modified:
    httpd/httpd/trunk/include/mpm_common.h

Modified: httpd/httpd/trunk/include/mpm_common.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/mpm_common.h?rev=1809135&r1=1809134&r2=1809135&view=diff
==============================================================================
--- httpd/httpd/trunk/include/mpm_common.h (original)
+++ httpd/httpd/trunk/include/mpm_common.h Thu Sep 21 09:20:14 2017
@@ -387,7 +387,7 @@ extern const char *ap_mpm_set_thread_sta
 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