From 4995c86425921dca3b62238a909fd24dc1f05ae2 Mon Sep 17 00:00:00 2001 From: rbb Date: Thu, 22 Jun 2000 16:05:39 +0000 Subject: 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 --- mmap/unix/common.c | 2 +- mmap/unix/mmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mmap') 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) { -- cgit v1.2.1