summaryrefslogtreecommitdiff
path: root/lib/apr_pools.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-06-22 16:05:39 +0000
committerRyan Bloom <rbb@apache.org>2000-06-22 16:05:39 +0000
commit79ac5bc1d8917cb3a8a8ee93071344e041edd33b (patch)
tree888ea8453e2c3dcc2c6b1f39c1d7d628dbd0a775 /lib/apr_pools.c
parentd65485d01875a07dae8ef1d74049263e974e3168 (diff)
downloadapr-79ac5bc1d8917cb3a8a8ee93071344e041edd33b.tar.gz
Cleanup yesterday's patch to make APR use APR namespace protected macros.
This makes APR use #if instead of #ifdef when using an APR macro. Since APR has stated that it will be using #if always, this is at least a step in that direction. This also fixes a problem with building MMAP that I think I introduced yesterday. Submitted by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/apr_pools.c')
-rw-r--r--lib/apr_pools.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/apr_pools.c b/lib/apr_pools.c
index 89ebdf9da..093b78026 100644
--- a/lib/apr_pools.c
+++ b/lib/apr_pools.c
@@ -75,19 +75,19 @@
#ifdef HAVE_SYS_SIGNAL_H
#include <sys/signal.h>
#endif
-#ifdef APR_HAVE_SIGNAL_H
+#if APR_HAVE_SIGNAL_H
#include <signal.h>
#endif
-#ifdef APR_HAVE_SYS_WAIT_H
+#if APR_HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
-#ifdef APR_HAVE_SYS_TYPES_H
+#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef APR_HAVE_FCNTL_H
+#if APR_HAVE_FCNTL_H
#include <fcntl.h>
#endif