mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix <cstddef> include, for clang 3.5 earlier with libstdc++ 20140422 or later
This commit is contained in:
parent
74f79f3717
commit
3c4a048f25
263 changed files with 311 additions and 270 deletions
|
@ -33,11 +33,17 @@
|
|||
|
||||
//
|
||||
// SPROUT_CXX14_CONSTEXPR
|
||||
// SPROUT_CXX14_CONSTEXPR_OR_CONST
|
||||
// SPROUT_CXX14_STATIC_CONSTEXPR
|
||||
//
|
||||
#ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# define SPROUT_CXX14_CONSTEXPR constexpr
|
||||
# define SPROUT_CXX14_CONSTEXPR_OR_CONST constexpr
|
||||
# define SPROUT_CXX14_STATIC_CONSTEXPR static constexpr
|
||||
#else // #ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
# define SPROUT_CXX14_CONSTEXPR
|
||||
# define SPROUT_CXX14_CONSTEXPR_OR_CONST const
|
||||
# define SPROUT_CXX14_STATIC_CONSTEXPR static const
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_CXX14_CONSTEXPR
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue