httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: svn commit: r188846 - in /httpd/httpd/trunk: include/mpm_common.h server/mpm_common.c
Date Tue, 07 Jun 2005 21:12:46 GMT
--On Tuesday, June 7, 2005 7:13 PM +0000 niq@apache.org 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

Mime
View raw message