mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-02 14:04:20 +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
|
# define SPROUT_NO_CXX11_UNICODE_LITERALS
|
||||||
#endif
|
#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
|
# define SPROUT_NO_CXX14_CONSTEXPR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -52,8 +52,6 @@
|
||||||
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9) || __cplusplus < 201300L)
|
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||||
# define SPROUT_NO_CXX14_CONSTEXPR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue