summaryrefslogtreecommitdiff
path: root/ace/Malloc_T.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-12 21:17:54 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-12 21:17:54 +0000
commit45f0784cd826110ae6b938e367c4acf04f8782f6 (patch)
tree785de1b8e184b89cbef690175bbac3e7676566c1 /ace/Malloc_T.i
parent54aa7826823ac94aa6f68c10bc0a6f5664811362 (diff)
downloadATCD-45f0784cd826110ae6b938e367c4acf04f8782f6.tar.gz
ChangeLogTag:Sat Feb 12 15:15:01 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Malloc_T.i')
-rw-r--r--ace/Malloc_T.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Malloc_T.i b/ace/Malloc_T.i
index 0d904b803fd..40bd9db7f6a 100644
--- a/ace/Malloc_T.i
+++ b/ace/Malloc_T.i
@@ -243,10 +243,10 @@ ACE_Malloc_FIFO_Iterator<ACE_MEM_POOL_2, ACE_LOCK>::ACE_Malloc_FIFO_Iterator (AC
template <ACE_MEM_POOL_1, class ACE_LOCK, class ACE_CB> ACE_INLINE void
ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::init_malloc_header_ptr (void* ptr)
{
-#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
+#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
new (ptr) ACE_MALLOC_HEADER_PTR (this->cb_ptr_, 0);
#else
ACE_UNUSED_ARG (ptr);
-#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
+#endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */
}
#endif