summaryrefslogtreecommitdiff
path: root/ace/Memory_Pool.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-07 08:27:07 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-07 08:27:07 +0000
commit77f8caed5f5f23c74d55c908da467c2ba53f4327 (patch)
tree8db313ec4441d28785ffc4a66b6070b99f362dc5 /ace/Memory_Pool.cpp
parent7d05afaa28181c4e092f5460e499efabcd895ffb (diff)
downloadATCD-77f8caed5f5f23c74d55c908da467c2ba53f4327.tar.gz
ChangeLogTag:Wed Jul 07 01:28:40 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r--ace/Memory_Pool.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp
index 4d0ca6d12ce..1d07027de11 100644
--- a/ace/Memory_Pool.cpp
+++ b/ace/Memory_Pool.cpp
@@ -10,9 +10,9 @@
#include "ace/Auto_Ptr.h"
-#if defined (ACE_HAS_BASED_POINTER_MALLOC)
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
#include "ace/Based_Pointer_T.h"
-#endif /* ACE_HAS_BASED_POINTER_MALLOC */
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
ACE_RCSID(ace, Memory_Pool, "$Id$")
@@ -79,10 +79,10 @@ ACE_MMAP_Memory_Pool::release (void)
{
ACE_TRACE ("ACE_MMAP_Memory_Pool::release");
-#if defined (ACE_HAS_BASED_POINTER_MALLOC)
- ACE_BASED_POINTER_REPOSITORY::instance ()->unbind (this->mmap_.addr (),
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
+ ACE_POSITION_INDEPENDENT_REPOSITORY::instance ()->unbind (this->mmap_.addr (),
this->mmap_.size ());
-#endif /* ACE_HAS_BASED_POINTER_MALLOC */
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
this->mmap_.remove ();
return 0;
@@ -264,10 +264,10 @@ ACE_MMAP_Memory_Pool::map_file (off_t map_size)
}
else
{
-#if defined (ACE_HAS_BASED_POINTER_MALLOC)
- ACE_BASED_POINTER_REPOSITORY::instance ()->bind (this->base_addr_,
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
+ ACE_POSITION_INDEPENDENT_REPOSITORY::instance ()->bind (this->base_addr_,
map_size);
-#endif /* ACE_HAS_BASED_POINTER_MALLOC */
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
return 0;
}
}