summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-22 16:05:39 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-22 16:05:39 +0000
commit4995c86425921dca3b62238a909fd24dc1f05ae2 (patch)
tree888ea8453e2c3dcc2c6b1f39c1d7d628dbd0a775 /mmap/unix
parent21b98cff9922df4b06bf86e2f924bad1a7687585 (diff)
downloadlibapr-4995c86425921dca3b62238a909fd24dc1f05ae2.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: http://svn.apache.org/repos/asf/apr/apr/trunk@60241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap/unix')
-rw-r--r--mmap/unix/common.c2
-rw-r--r--mmap/unix/mmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mmap/unix/common.c b/mmap/unix/common.c
index 4e1ccfd13..1d2db7a8c 100644
--- a/mmap/unix/common.c
+++ b/mmap/unix/common.c
@@ -63,7 +63,7 @@
#include "mmap_h.h"
-#if APR_HAVE_MMAP || defined(BEOS)
+#if APR_HAS_MMAP || defined(BEOS)
ap_status_t ap_mmap_offset(void **addr, ap_mmap_t *mmap, ap_off_t offset)
{
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 90609ea62..67116e2a3 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -55,7 +55,7 @@
#include "mmap_h.h"
#include "apr_portable.h"
-#if APR_HAVE_MMAP || defined(BEOS)
+#if APR_HAS_MMAP || defined(BEOS)
static ap_status_t mmap_cleanup(void *themmap)
{