From ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 6 Nov 2015 17:07:11 -0600 Subject: Merged branch ace-face-safety (FACE Safety Profile import from OCITAO). --- ACE/ace/Atomic_Op_T.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ACE/ace/Atomic_Op_T.cpp') diff --git a/ACE/ace/Atomic_Op_T.cpp b/ACE/ace/Atomic_Op_T.cpp index 82311d3e26b..d925d6e4623 100644 --- a/ACE/ace/Atomic_Op_T.cpp +++ b/ACE/ace/Atomic_Op_T.cpp @@ -7,6 +7,10 @@ # include "ace/Log_Category.h" #endif /* ACE_HAS_DUMP */ +#if defined (ACE_HAS_ALLOC_HOOKS) +# include "ace/Malloc_Base.h" +#endif /* ACE_HAS_ALLOC_HOOKS */ + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -17,8 +21,8 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_ALLOC_HOOK_DEFINE(ACE_Atomic_Op_Ex) -ACE_ALLOC_HOOK_DEFINE(ACE_Atomic_Op) +ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Atomic_Op_Ex) +ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Atomic_Op) // ************************************************* template ACE_LOCK & -- cgit v1.2.1