You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2002/05/10 16:03:29 UTC
cvs commit: apr/include apr_pools.h
trawick 02/05/10 07:03:29
Modified: include apr_pools.h
Log:
get rid of the macro redefinition warnings for a pool-debug build
Revision Changes Path
1.92 +1 -1 apr/include/apr_pools.h
Index: apr_pools.h
===================================================================
RCS file: /home/cvs/apr/include/apr_pools.h,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- apr_pools.h 5 May 2002 02:06:48 -0000 1.91
+++ apr_pools.h 10 May 2002 14:03:29 -0000 1.92
@@ -386,7 +386,7 @@
*/
#if defined(DOXYGEN)
APR_DECLARE(void *) apr_pcalloc(apr_pool_t *p, apr_size_t size);
-#else
+#elif !APR_POOL_DEBUG
#define apr_pcalloc(p, size) memset(apr_palloc(p, size), 0, size)
#endif