diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-19 22:42:13 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-19 22:42:13 +0000 |
commit | 4009e0931a643ed5bedd889749cce0e4500cae82 (patch) | |
tree | 500ee143d922a3a92c94877ff9dc680b4d1573ed /ace/Malloc.h | |
parent | 6e793ae1370b6c173aedf525525c9bdff3c0e8c8 (diff) | |
download | ATCD-4009e0931a643ed5bedd889749cce0e4500cae82.tar.gz |
foo
Diffstat (limited to 'ace/Malloc.h')
-rw-r--r-- | ace/Malloc.h | 8 |
1 files changed, 6 insertions, 2 deletions
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. }; |