summaryrefslogtreecommitdiff
path: root/tests/Malloc_Test.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-13 22:44:48 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-13 22:44:48 +0000
commit4168f4a6bcb03667f6dbdc9cec6e36a82ad0e977 (patch)
tree41d1d6165344554cbf642b840db3787000d61f02 /tests/Malloc_Test.cpp
parent9e55df2f68eaa3fc46f8bbae3234d9c8347fc1dd (diff)
downloadATCD-4168f4a6bcb03667f6dbdc9cec6e36a82ad0e977.tar.gz
Oops, I missed one.
Diffstat (limited to 'tests/Malloc_Test.cpp')
-rw-r--r--tests/Malloc_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp
index eeb50423d48..f9dc93142c6 100644
--- a/tests/Malloc_Test.cpp
+++ b/tests/Malloc_Test.cpp
@@ -32,11 +32,11 @@ USELIB("..\ace\aced.lib");
#if !defined (__Lynx__) && (!defined (ACE_LACKS_FORK) || defined (ACE_WIN32))
-#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
+#if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
typedef ACE_Malloc_T<ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex, ACE_PI_Control_Block> MALLOC;
#else
typedef ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Process_Mutex> MALLOC;
-#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
+#endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */
#define MMAP_FILENAME ACE_TEXT ("test_file")
#define MUTEX_NAME ACE_TEXT ("test_lock")