--On Tuesday, June 7, 2005 7:13 PM +0000 [EMAIL PROTECTED] wrote:

+APR_HOOK_STRUCT(
+#if AP_ENABLE_EXCEPTION_HOOK
+    APR_HOOK_LINK(fatal_exception)
+#endif
+    APR_HOOK_LINK(monitor)
+)
+

gcc (at least the one on RHEL3) forbids the use of preprocessor conditionals inside of a macro. So, this needs to be:

#if AP_ENABLE_EXCEPTION_HOOK
...define with it in there...
#else
...define without fatal_exception...
#endif

Thanks.  -- justin

Reply via email to