]> granicus.if.org Git - apache/commitdiff
Fix for reported compile problem
authorNick Kew <niq@apache.org>
Tue, 7 Jun 2005 23:45:50 +0000 (23:45 +0000)
committerNick Kew <niq@apache.org>
Tue, 7 Jun 2005 23:45:50 +0000 (23:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@189475 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_common.c

index e6bf91ffbed9c32138eda05699c64388c3abc13f..619e53892fd4c558e896ceecdd290de70652f556 100644 (file)
 #include <unistd.h>
 #endif
 
-APR_HOOK_STRUCT(
 #if AP_ENABLE_EXCEPTION_HOOK
+APR_HOOK_STRUCT(
     APR_HOOK_LINK(fatal_exception)
-#endif
     APR_HOOK_LINK(monitor)
 )
-
-#if AP_ENABLE_EXCEPTION_HOOK
 AP_IMPLEMENT_HOOK_RUN_ALL(int, fatal_exception,
                           (ap_exception_info_t *ei), (ei), OK, DECLINED)
+#else
+APR_HOOK_STRUCT(
+    APR_HOOK_LINK(monitor)
+)
 #endif
 AP_IMPLEMENT_HOOK_RUN_ALL(int, monitor,
                           (apr_pool_t *p), (p), OK, DECLINED)