summaryrefslogtreecommitdiff
path: root/ace/Malloc.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-04 17:01:43 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-04 17:01:43 +0000
commit726556e2ec2066b2f26d276efa0cc4cfa03659ce (patch)
tree44b2bb083ff1dfc595f4e7611a91ee8505be0ce2 /ace/Malloc.h
parenta88b2842c3994ff1638cfba91485f14ddd7f7ec5 (diff)
downloadATCD-726556e2ec2066b2f26d276efa0cc4cfa03659ce.tar.gz
ChangeLogTag:Wed Aug 4 11:59:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/Malloc.h')
-rw-r--r--ace/Malloc.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/ace/Malloc.h b/ace/Malloc.h
index 2987b7d4654..8be49d4784d 100644
--- a/ace/Malloc.h
+++ b/ace/Malloc.h
@@ -79,13 +79,18 @@ struct ACE_Export ACE_Malloc_Stats
#endif /* ACE_MALLOC_PADDING */
#if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC)
-#define ACE_MALLOC_HEADER_PTR ACE_Based_Pointer<ACE_Malloc_Header>
-typedef ACE_NAME_NODE_PTR ACE_Based_Pointer<ACE_Name_Node>
-typedef ACE_CHAR_PTR ACE_Based_Pointer_Basic<char>
+
+typedef ACE_Based_Pointer<ACE_Malloc_Header> ACE_MALLOC_HEADER_PTR;
+typedef ACE_Based_Pointer<ACE_Name_Node> ACE_NAME_NODE_PTR;
+typedef ACE_Based_Pointer_Basic<char> ACE_CHAR_PTR;
+
#else
-typedef ACE_MALLOC_HEADER_PTR ACE_Malloc_Header
-typedef ACE_NAME_NODE_PTR ACE_Name_Node *
-typedef ACE_CHAR_PTR char *
+
+class ACE_Malloc_Header;
+class ACE_Name_Node;
+typedef ACE_Malloc_Header* ACE_MALLOC_HEADER_PTR;
+typedef ACE_Name_Node * ACE_NAME_NODE_PTR;
+typedef char * ACE_CHAR_PTR;
#endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */
class ACE_Export ACE_Malloc_Header