summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Service_Config.h')
-rw-r--r--ACE/ace/Service_Config.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/ACE/ace/Service_Config.h b/ACE/ace/Service_Config.h
index 169db740cf1..9bb69f5f383 100644
--- a/ACE/ace/Service_Config.h
+++ b/ACE/ace/Service_Config.h
@@ -150,14 +150,17 @@ public:
/// 2980 for a description of a test case where ACE_TSS::cleanup() is
/// called before ~ACE_Object_Manager.
-/// Note that Borland C++ 2007 *needs* the parameter name, but I don't
-/// know why ...
-
-template<> inline void
-ACE_TSS<ACE_Service_Gestalt>::cleanup (void*ptr)
-{
- ACE_UNUSED_ARG (ptr);
-}
+ACE_MT (
+ // Since ACE_TSS<>::cleanup() is only defined in
+ // multithreaded builds ...
+ template<> inline void
+ ACE_TSS<ACE_Service_Gestalt>::cleanup (void*ptr)
+ {
+ // Borland C++ 2007 *needs* the parameter
+ // name, but it is not clear why ...
+ ACE_UNUSED_ARG (ptr);
+ }
+); // ACE_MT
/**