php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18572 apache2filter compile error (using deprecated macro)
Submitted: 2002-07-25 13:38 UTC Modified: 2002-07-25 13:54 UTC
From: afaby at serverlogistics dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.2 OS: Mac OS X 10.1.5
Private report: No CVE-ID: None
 [2002-07-25 13:38 UTC] afaby at serverlogistics dot com
When compiling PHP 4.2.2 with Apache 2.0.39, the compile fails on line 93 of sapi/apache2filter/php_functions.c

The line is:

#if !MODULE_MAGIC_AT_LEAST(20020506,0)

when it should be:

#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)

Here is the macro definition in ap_mmn.h:

#define MODULE_MAGIC_AT_LEAST old_broken_macro_we_hope_you_are_not_using

Upon changing the macro to A_MODULE_MAGIC_AT_LEAST, the compile was successful.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-25 13:54 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC