summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-02-03 22:21:46 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-02-03 22:21:46 +0000
commitbc732b27cac066ff164d8031e91a4aabbb5557bc (patch)
tree1b3d1c7fd6e039bcbdb54d2e873ec9fda749a4d6 /examples/Shared_Malloc
parenta3b9eb40516ed054b4b74c6288fe410da666f871 (diff)
downloadATCD-bc732b27cac066ff164d8031e91a4aabbb5557bc.tar.gz
ChangeLogTag:Thu Feb 3 11:38:15 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'examples/Shared_Malloc')
-rw-r--r--examples/Shared_Malloc/test_position_independent_malloc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/Shared_Malloc/test_position_independent_malloc.cpp b/examples/Shared_Malloc/test_position_independent_malloc.cpp
index eae25d1c347..b1c13ff8b9f 100644
--- a/examples/Shared_Malloc/test_position_independent_malloc.cpp
+++ b/examples/Shared_Malloc/test_position_independent_malloc.cpp
@@ -198,7 +198,9 @@ template class ACE_Based_Pointer_Basic<Long_Test>;
template class ACE_Based_Pointer<Long_Test>;
template class auto_ptr <MALLOC>;
template class ACE_Auto_Basic_Ptr<MALLOC>;
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
template class ACE_Malloc_T <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex, CONTROL_BLOCK>;
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Based_Pointer<Test_Data>
#pragma instantiate ACE_Based_Pointer_Basic<Test_Data>
@@ -207,5 +209,7 @@ template class ACE_Malloc_T <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex, CONTROL_BL
#pragma instantiate ACE_Based_Pointer_Basic<Long>
#pragma instantiate auto_ptr <MALLOC>
#pragma instantiate ACE_Auto_Basic_Ptr<MALLOC>
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
#pragma instantiate ACE_Malloc_T <ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex, CONTROL_BLOCK>
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */