mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix CXX14_CONSTEXPR config
This commit is contained in:
parent
bf3cc47c15
commit
befe29adf0
2 changed files with 15 additions and 2 deletions
|
@ -60,7 +60,12 @@
|
|||
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
|
||||
#endif
|
||||
|
||||
#define SPROUT_NO_CXX14_CONSTEXPR
|
||||
#define SPROUT_NO_CXX14_VARIABLE_TEMPLATES
|
||||
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
|
||||
# define SPROUT_NO_CXX14_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
|
||||
# define SPROUT_NO_CXX14_VARIABLE_TEMPLATES
|
||||
#endif
|
||||
|
||||
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue