Bug #18572 Updated: apache2filter compile error (using deprecated macro)

From: Date: Thu, 25 Jul 2002 17:54:27 +0000
Subject: Bug #18572 Updated: apache2filter compile error (using deprecated macro)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15221@lists.php.net to get a copy of this message
ID: 18572 Updated by: sniper@php.net Reported By: afaby@serverlogistics.com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Mac OS X 10.1.5 PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-07-25 13:38:30] afaby@serverlogistics.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18572&edit=1

« previous php.bugs (#15221) next »