summaryrefslogtreecommitdiff
path: root/ace/Static_Object_Lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Static_Object_Lock.h')
-rw-r--r--ace/Static_Object_Lock.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/Static_Object_Lock.h b/ace/Static_Object_Lock.h
index 93006c34001..5a765a24fbd 100644
--- a/ace/Static_Object_Lock.h
+++ b/ace/Static_Object_Lock.h
@@ -1,4 +1,4 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
//=============================================================================
/**
@@ -24,6 +24,8 @@
#if defined (ACE_HAS_THREADS)
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
class ACE_Recursive_Thread_Mutex;
/**
@@ -47,11 +49,15 @@ public:
static void cleanup_lock (void);
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#endif /* ACE_HAS_THREADS */
// hack to get around errors while compiling using split-cpp
#if defined (ACE_HAS_THREADS)
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
# if defined (ACE_IS_SPLITTING)
typedef ACE_Cleanup_Adapter<ACE_Recursive_Thread_Mutex> ACE_Static_Object_Lock_Type;
@@ -64,6 +70,8 @@ static ACE_Static_Object_Lock_Type *ACE_Static_Object_Lock_lock = 0;
# endif /* ACE_IS_SPLITTING */
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#endif /* ACE_HAS_THREADS */
#include /**/ "ace/post.h"