summaryrefslogtreecommitdiff
path: root/boost/config/stdlib/msl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/stdlib/msl.hpp')
-rw-r--r--boost/config/stdlib/msl.hpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/boost/config/stdlib/msl.hpp b/boost/config/stdlib/msl.hpp
index b8f43a1286..dd2775e10c 100644
--- a/boost/config/stdlib/msl.hpp
+++ b/boost/config/stdlib/msl.hpp
@@ -75,13 +75,14 @@
# define BOOST_NO_CXX11_STD_ALIGN
# define BOOST_NO_CXX11_ADDRESSOF
-#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
-
-
-
-
-
-
-
-
+#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 "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)