perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_util.h
Date Mon, 10 May 2004 18:09:15 GMT
stas        2004/05/10 11:09:15

  Modified:    src/modules/perl modperl_util.h
  Log:
  some compilers are just not very smart. but let's please them
  Submitted by:	Beau E. Cox <beau@beaucox.com>
  
  Revision  Changes    Path
  1.58      +4 -5      modperl-2.0/src/modules/perl/modperl_util.h
  
  Index: modperl_util.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.h,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -u -r1.57 -r1.58
  --- modperl_util.h	10 May 2004 02:37:05 -0000	1.57
  +++ modperl_util.h	10 May 2004 18:09:14 -0000	1.58
  @@ -188,7 +188,9 @@
   /* dump the contents of PL_modglobal */
   void modperl_perl_modglobal_dump(pTHX);
   
  -#if APR_HAS_THREADS
  +#endif
  +
  +#if defined(MP_TRACE) && defined(APR_HAS_THREADS)
   #define MP_TRACEf_TID   "/tid 0x%lx"
   #define MP_TRACEv_TID   (unsigned long)apr_os_thread_current()
   #define MP_TRACEv_TID_  MP_TRACEv_TID,
  @@ -200,7 +202,7 @@
   #define MP_TRACEv__TID
   #endif /* APR_HAS_THREADS */
   
  -#ifdef USE_ITHREADS
  +#if defined(MP_TRACE) && defined(USE_ITHREADS)
   #define MP_TRACEf_PERLID   "/perl id 0x%lx"
   #define MP_TRACEv_PERLID   (unsigned long)my_perl
   #define MP_TRACEv_PERLID_  MP_TRACEv_PERLID,
  @@ -211,8 +213,5 @@
   #define MP_TRACEv_PERLID_
   #define MP_TRACEv__PERLID
   #endif /* USE_ITHREADS */
  -
  -#endif
  -
   
   #endif /* MODPERL_UTIL_H */
  
  
  

Mime
View raw message