From 4009e0931a643ed5bedd889749cce0e4500cae82 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sun, 19 Jan 1997 22:42:13 +0000 Subject: foo --- ace/Malloc.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ace/Malloc.h') diff --git a/ace/Malloc.h b/ace/Malloc.h index 0036b4ee7cb..851865ff009 100644 --- a/ace/Malloc.h +++ b/ace/Malloc.h @@ -102,7 +102,11 @@ public: // Dump the state of the object. }; -typedef long ACE_Malloc_Align; +// Allow the user to override this in the config.h file. +#if !defined (ACE_MALLOC_ALIGN) +#define ACE_MALLOC_ALIGN long +#endif /* ACE_MALLOC_ALIGN */ + // For alignment to long boundary union ACE_Export ACE_Malloc_Header @@ -117,7 +121,7 @@ union ACE_Export ACE_Malloc_Header // Size of this block. } s_; - ACE_Malloc_Align x_; + ACE_MALLOC_ALIGN x_; // Force alignment. }; -- cgit v1.2.1