stas        2003/11/07 01:04:01

  Modified:    src/modules/perl modperl_perl.h
  Log:
  simplify the MP_MAINTAIN_PPID define to require perl>=5.8 and
  THREADS_HAVE_PIDS (the latter define doesn't exist in the real 5.8.0)
  
  Revision  Changes    Path
  1.14      +3 -4      modperl-2.0/src/modules/perl/modperl_perl.h
  
  Index: modperl_perl.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl.h,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- modperl_perl.h    7 Nov 2003 08:31:18 -0000       1.13
  +++ modperl_perl.h    7 Nov 2003 09:04:01 -0000       1.14
  @@ -3,11 +3,10 @@
   
   /* starting from 5.8.1 perl caches ppids, so we need to main our
    * own. some distros fetch fake 5.8.0 with changes from 5.8.1, so we
  - * need to do that for those fake 5.8.0 as well
  + * need to do that for those fake 5.8.0 as well. real 5.8.0 doesn't
  + * have THREADS_HAVE_PIDS defined.
    */
  -#if PERL_REVISION == 5 && \
  -    (PERL_VERSION == 8 && PERL_SUBVERSION >= 0 || PERL_VERSION >= 9) && \
  -    THREADS_HAVE_PIDS
  +#if PERL_REVISION == 5 && PERL_VERSION >= 8 && THREADS_HAVE_PIDS
   #define MP_MAINTAIN_PPID
   #endif
   
  
  
  

Reply via email to