[EMAIL PROTECTED] wrote:
> dougm       2002/06/03 16:41:18
> 
>   Modified:    src/modules/perl mod_perl.c mod_perl.h
>   Log:
>   add MODPERL2 config define, as if the server had been started with -DMODPERL2
>   
>   Revision  Changes    Path
>   1.121     +10 -2     modperl-2.0/src/modules/perl/mod_perl.c
>   
>   Index: mod_perl.c
>   ===================================================================
>   RCS file: /home/cvs/modperl-2.0/src/modules/perl/mod_perl.c,v
>   retrieving revision 1.120
>   retrieving revision 1.121
>   diff -u -r1.120 -r1.121
>   --- mod_perl.c      30 May 2002 23:35:02 -0000      1.120
>   +++ mod_perl.c      3 Jun 2002 23:41:18 -0000       1.121
>   @@ -422,12 +422,17 @@
>        return OK;
>    }
>    
>   -void modperl_pre_config_handler(apr_pool_t *p, apr_pool_t *plog,
>   -                                apr_pool_t *ptemp)
>   +int modperl_hook_pre_config(apr_pool_t *p, apr_pool_t *plog,
>   +                            apr_pool_t *ptemp)
>    {
>   +    /* for <IfDefine MODPERL2> and Apache->define("MODPERL2") */

I guess it's better to say Apache::exists_config_define("MODPERL2") as 
define() doesn't exist in 2.0 without compat :)


__________________________________________________________________
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]

Reply via email to