summaryrefslogtreecommitdiff
path: root/boost/config/compiler/sunpro_cc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/sunpro_cc.hpp')
-rw-r--r--boost/config/compiler/sunpro_cc.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/config/compiler/sunpro_cc.hpp b/boost/config/compiler/sunpro_cc.hpp
index 8f07e0e9a2..ac259fce28 100644
--- a/boost/config/compiler/sunpro_cc.hpp
+++ b/boost/config/compiler/sunpro_cc.hpp
@@ -152,7 +152,7 @@
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
# define BOOST_NO_CXX14_CONSTEXPR
#endif
-#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
+#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) || (__cplusplus < 201402L)
# define BOOST_NO_CXX14_DECLTYPE_AUTO
#endif
#if (__cplusplus < 201304) // There's no SD6 check for this....