Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 336 invoked from network); 7 Jun 2005 21:13:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 21:13:09 -0000 Received: (qmail 49094 invoked by uid 500); 7 Jun 2005 21:13:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 49000 invoked by uid 500); 7 Jun 2005 21:13:01 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 48944 invoked by uid 99); 7 Jun 2005 21:13:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from scotch.ics.uci.edu (HELO scotch.ics.uci.edu) (128.195.24.168) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 14:12:58 -0700 Received: from st-augustin.ics.uci.edu (st-augustin.ics.uci.edu [128.195.20.85]) (authenticated bits=0) by scotch.ics.uci.edu (8.12.11/8.12.11) with ESMTP id j57LCkk7005786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Jun 2005 14:12:46 -0700 (PDT) Date: Tue, 07 Jun 2005 14:12:46 -0700 From: Justin Erenkrantz To: dev@httpd.apache.org Subject: Re: svn commit: r188846 - in /httpd/httpd/trunk: include/mpm_common.h server/mpm_common.c Message-ID: <541BE9261BD9037299E25A70@st-augustin.ics.uci.edu> In-Reply-To: <20050607191339.98255.qmail@minotaur.apache.org> References: <20050607191339.98255.qmail@minotaur.apache.org> X-Mailer: Mulberry/3.1.6 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=no version=3.1.0-r156655 X-Spam-Checker-Version: SpamAssassin 3.1.0-r156655 (2005-03-09) on scotch.ics.uci.edu X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on scotch.ics.uci.edu X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --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