fix c+ constexpr config+

This commit is contained in:
bolero-MURAKAMI 2013-10-10 10:01:00 +09:00
parent 9e678c517d
commit d5c84b07c9
2 changed files with 2 additions and 4 deletions

View file

@ -44,7 +44,7 @@
# define SPROUT_NO_CXX11_UNICODE_LITERALS
#endif
#if (!__has_feature(cxx_constexpr) || __cplusplus < 201305L)
#if (!__has_feature(cxx_constexpr) || __cplusplus < 201305L || __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 4))
# define SPROUT_NO_CXX14_CONSTEXPR
#endif