stas 2004/04/26 13:20:01
Modified: lib/ModPerl Code.pm
Log:
ifdef the definition of the new macros imported from 2.0.49 and not
available in the earlier Apache versions
Revision Changes Path
1.120 +4 -1 modperl-2.0/lib/ModPerl/Code.pm
Index: Code.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -u -r1.119 -r1.120
--- Code.pm 2 Apr 2004 01:38:12 -0000 1.119
+++ Code.pm 26 Apr 2004 20:20:01 -0000 1.120
@@ -799,7 +799,10 @@
#backwards compat with older httpd/apr
#XXX: remove once we require newer httpd/apr
-my %ifdef = map { $_, 1 } qw(APLOG_TOCLIENT APR_LIMIT_NOFILE);
+my %ifdef = map { $_, 1 } + qw(APLOG_TOCLIENT APR_LIMIT_NOFILE), # added in ???
+ qw(AP_MPMQ_STARTING AP_MPMQ_RUNNING AP_MPMQ_STOPPING + AP_MPMQ_MPM_STATE); # added in 2.0.49
sub constants_ifdef {
my $name = shift;
I've just added them to ifdef, so they will be available for 2.0.49+ but undocumented until fully supported by Apache and we move onto requiring that version (which is a bit in the future).
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
