diff options
Diffstat (limited to 'include/apr_pools.h')
-rw-r--r-- | include/apr_pools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apr_pools.h b/include/apr_pools.h index 00cfa6149..350660d95 100644 --- a/include/apr_pools.h +++ b/include/apr_pools.h @@ -162,7 +162,8 @@ typedef struct apr_pool_t apr_pool_t; * </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 |