apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: apr/include apr_pools.h
Date Thu, 30 Oct 2003 12:17:08 GMT
striker     2003/10/30 04:17:08

  Modified:    include  apr_pools.h
  Log:
  Submitted by:	Julian Foad <julianfoad@btopenworld.com>
  Reviewed by:	Sander Striker
  
  * include/apr_pools.h
  
    Fix preprocessor magic when APR_POOL_DEBUG is defined, but is blank.
  
  Revision  Changes    Path
  1.108     +2 -1      apr/include/apr_pools.h
  
  Index: apr_pools.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_pools.h,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- apr_pools.h	26 Sep 2003 19:13:28 -0000	1.107
  +++ apr_pools.h	30 Oct 2003 12:17:07 -0000	1.108
  @@ -162,7 +162,8 @@
    * </pre>
    */
   #if defined(APR_POOL_DEBUG)
  -#if (APR_POOL_DEBUG != 0) && (APR_POOL_DEBUG - 0 == 0)
  +/* If APR_POOL_DEBUG is blank, we get 1; if it is a number, we get -1. */
  +#if (APR_POOL_DEBUG - APR_POOL_DEBUG -1 == 1)
   #undef APR_POOL_DEBUG
   #define APR_POOL_DEBUG 1
   #endif
  
  
  

Mime
View raw message