aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-04-27 14:59:11 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-04-27 14:59:11 -0700
commit09b9e951e36cfd8835a557682f2250f01bbf7051 (patch)
tree79522ab651e1c2bfed547fc7cafe3d259ea13b29 /Eigen/src/Core
parent1a325ef71ce47713cab3cebc3ded44609ebcec28 (diff)
Depend on the more extensive support for constexpr in clang:
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/util/Macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
index 88f86c442..de1265af3 100644
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -374,7 +374,7 @@
#if __cplusplus > 199711L && defined(__CUDACC_VER__) && (EIGEN_COMP_CLANG || __CUDACC_VER__ >= 70500)
#define EIGEN_HAS_CONSTEXPR 1
#endif
-#elif __has_feature(cxx_constexpr) || (defined(__cplusplus) && __cplusplus >= 201402L) || \
+#elif __has_feature(cxx_relaxed_constexpr) || (defined(__cplusplus) && __cplusplus >= 201402L) || \
EIGEN_GNUC_AT_LEAST(4,8)
#define EIGEN_HAS_CONSTEXPR 1
#endif