mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix c+ constexpr config+
This commit is contained in:
parent
9e678c517d
commit
d5c84b07c9
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@
|
|||
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9) || __cplusplus < 201300L)
|
||||
# define SPROUT_NO_CXX14_CONSTEXPR
|
||||
#endif
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
||||
|
|
Loading…
Reference in a new issue