summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-16 22:14:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-16 22:14:20 +0000
commiteab9662d49e94454e9cd61bde1abfaef91d87d9f (patch)
treefa03bdc67c75dbe9f7c78e63dcc2c9c7fb720c22
parentd79a5c9a3b359a0b1363a88566cf75c43205d1fc (diff)
downloadATCD-eab9662d49e94454e9cd61bde1abfaef91d87d9f.tar.gz
.
-rw-r--r--ace/Malloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/Malloc.h b/ace/Malloc.h
index 06d08183ca6..7844a8079a3 100644
--- a/ace/Malloc.h
+++ b/ace/Malloc.h
@@ -173,8 +173,13 @@ class ACE_Export ACE_Control_Block
// This class should be local to class ACE_Malloc, but some older
// C++ compilers don't like nested classes in templates...
public:
+#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
ACE_Based_Pointer<ACE_Name_Node> name_head_;
// Head of the linked list of Name Nodes.
+#else
+ ACE_Name_Node *name_head_;
+ // Head of the linked list of Name Nodes.
+#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
ACE_Malloc_Header::HEADER_PTR freep_;
// Current head of the freelist.