diff options
Diffstat (limited to 'boost/config/stdlib/sgi.hpp')
-rw-r--r-- | boost/config/stdlib/sgi.hpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/boost/config/stdlib/sgi.hpp b/boost/config/stdlib/sgi.hpp index bda77c2275..c8052717ce 100644 --- a/boost/config/stdlib/sgi.hpp +++ b/boost/config/stdlib/sgi.hpp @@ -145,7 +145,14 @@ # define BOOST_NO_CXX11_STD_ALIGN # define BOOST_NO_CXX11_ADDRESSOF -#define BOOST_STDLIB "SGI standard library" - - +#if defined(__has_include) +#if !__has_include(<shared_mutex>) +# define BOOST_NO_CXX14_HDR_SHARED_MUTEX +#elif __cplusplus < 201402 +# define BOOST_NO_CXX14_HDR_SHARED_MUTEX +#endif +#else +# define BOOST_NO_CXX14_HDR_SHARED_MUTEX +#endif +#define BOOST_STDLIB "SGI standard library"
\ No newline at end of file |