striker 02/01/14 03:13:53
Modified: memory/unix apr_pools.c
Log:
Fix some preprocessor logic. Ie. change #if APR_POOL_DEBUG_VERBOSE
to #if defined(APR_POOL_DEBUG_VERBOSE).
Submitted by: Jeff Trawick
Revision Changes Path
1.134 +2 -2 apr/memory/unix/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -r1.133 -r1.134
--- apr_pools.c 14 Jan 2002 09:31:57 -0000 1.133
+++ apr_pools.c 14 Jan 2002 11:13:52 -0000 1.134
@@ -849,7 +849,7 @@
apr_pools_initialized = 1;
-#if APR_POOL_DEBUG_VERBOSE
+#if defined(APR_POOL_DEBUG_VERBOSE)
apr_file_open_stderr(&file_stderr, global_pool);
if (file_stderr) {
apr_file_printf(file_stderr,
@@ -876,7 +876,7 @@
apr_pool_destroy(global_pool); /* This will also destroy the mutex */
global_pool = NULL;
-#if APR_POOL_DEBUG_VERBOSE
+#if defined(APR_POOL_DEBUG_VERBOSE)
file_stderr = NULL;
#endif
}