diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-02-03 22:21:46 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-02-03 22:21:46 +0000 |
commit | bc732b27cac066ff164d8031e91a4aabbb5557bc (patch) | |
tree | 1b3d1c7fd6e039bcbdb54d2e873ec9fda749a4d6 /examples/Shared_Malloc | |
parent | a3b9eb40516ed054b4b74c6288fe410da666f871 (diff) | |
download | ATCD-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.cpp | 4 |
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 */ |