1
0
Fork 0
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:
bolero-MURAKAMI 2014-04-30 16:30:26 +09:00
parent 74f79f3717
commit 3c4a048f25
263 changed files with 311 additions and 270 deletions

View file

@ -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
//