at line 93, sapi/apache2filter/php_functions.c:

 #if !MODULE_MAGIC_AT_LEAST(20020506,0)
                ADD_STRING(boundary);
 #endif

compilation failed at this point for me with apache 2.0.39,
and apparently alot of other people are having the same
troubles. gcc complains about a misplaced "!" because 
it doesn't understand the macro. Apparently it is not in 
the apache headers any longer.

According to the Apache 1.3 API documentation, the
MODULE_MAGIC_AT_LEAST macro has been
defined as obsolete since 1.3.

AP_MODULE_MAGIC_AT_LEAST is the
recommended replacement, and changing the
offending line to reflect this allows gcc to finish
compiling without any problems.

Just thought I should mention this here so that it can
be corrected; this obsolete macro is still present in
the latest snapshot and prevents successful
compilation with apache 2.0.39 and possibly
earlier. I'd appreciate it if someone could forward
this on to someone who can make the fix if this
isn't the right place.

-jd


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to