summaryrefslogtreecommitdiff
path: root/boost/config/compiler/xlcpp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/xlcpp.hpp')
-rw-r--r--boost/config/compiler/xlcpp.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/config/compiler/xlcpp.hpp b/boost/config/compiler/xlcpp.hpp
index e369ecefd2..2aaafc3b66 100644
--- a/boost/config/compiler/xlcpp.hpp
+++ b/boost/config/compiler/xlcpp.hpp
@@ -238,6 +238,10 @@
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES
#endif
+#if !__has_feature(cxx_thread_local)
+# define BOOST_NO_CXX11_THREAD_LOCAL
+#endif
+
#if __cplusplus < 201400
// All versions with __cplusplus above this value seem to support this:
# define BOOST_NO_CXX14_DIGIT_SEPARATORS