Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/interprocess/sync/null_mutex.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/interprocess/sync/null_mutex.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/interprocess/sync/null_mutex.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -11,7 +11,11 @@ #ifndef BOOST_INTERPROCESS_NULL_MUTEX_HPP #define BOOST_INTERPROCESS_NULL_MUTEX_HPP -#if (defined _MSC_VER) && (_MSC_VER >= 1200) +#ifndef BOOST_CONFIG_HPP +# include <boost/config.hpp> +#endif +# +#if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif @@ -24,19 +28,23 @@ namespace boost { +#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED) + namespace posix_time { class ptime; } +#endif //#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED) + namespace interprocess { //!Implements a mutex that simulates a mutex without doing any operation and //!simulates a successful operation. class null_mutex { - /// @cond + #if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED) null_mutex(const null_mutex&); null_mutex &operator= (const null_mutex&); - /// @endcond + #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED public: //!Constructor.