aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/regex/pending/static_mutex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/details/boost/regex/pending/static_mutex.hpp')
-rw-r--r--cutl/details/boost/regex/pending/static_mutex.hpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/cutl/details/boost/regex/pending/static_mutex.hpp b/cutl/details/boost/regex/pending/static_mutex.hpp
index 8413a56..d3a0307 100644
--- a/cutl/details/boost/regex/pending/static_mutex.hpp
+++ b/cutl/details/boost/regex/pending/static_mutex.hpp
@@ -36,14 +36,7 @@
//
namespace cutl_details_boost{
-class BOOST_REGEX_DECL scoped_static_mutex_lock;
-
-class static_mutex
-{
-public:
- typedef scoped_static_mutex_lock scoped_lock;
- pthread_mutex_t m_mutex;
-};
+class static_mutex;
#define BOOST_STATIC_MUTEX_INIT { PTHREAD_MUTEX_INITIALIZER, }
@@ -67,6 +60,12 @@ private:
bool m_have_lock;
};
+class static_mutex
+{
+public:
+ typedef scoped_static_mutex_lock scoped_lock;
+ pthread_mutex_t m_mutex;
+};
} // namespace cutl_details_boost
#elif defined(BOOST_HAS_WINTHREADS)