fix doc example typo
[boost.git] / boost / thread / recursive_mutex.hpp
blobd5f6116e72c18119c4f49818b5d6c8b53c3f91c3
1 #ifndef BOOST_THREAD_RECURSIVE_MUTEX_HPP
2 #define BOOST_THREAD_RECURSIVE_MUTEX_HPP
4 // recursive_mutex.hpp
5 //
6 // (C) Copyright 2007 Anthony Williams
7 //
8 // Distributed under the Boost Software License, Version 1.0. (See
9 // accompanying file LICENSE_1_0.txt or copy at
10 // http://www.boost.org/LICENSE_1_0.txt)
12 #include <boost/thread/detail/platform.hpp>
13 #if defined(BOOST_THREAD_PLATFORM_WIN32)
14 #include <boost/thread/win32/recursive_mutex.hpp>
15 #elif defined(BOOST_THREAD_PLATFORM_PTHREAD)
16 #include <boost/thread/pthread/recursive_mutex.hpp>
17 #else
18 #error "Boost threads unavailable on this platform"
19 #endif
21 #endif