mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-08-23 14:20:52 +00:00
workaround for no c++11 numeric_limits
This commit is contained in:
parent
ce16e24637
commit
7a1974742a
110 changed files with 727 additions and 436 deletions
|
@ -26,7 +26,18 @@
|
|||
#endif
|
||||
|
||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# define SPROUT_NO_CXX11_NUMERIC_LIMITS
|
||||
# if defined(__clang__)
|
||||
# if !__has_feature(cxx_constexpr) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# define SPROUT_NO_CXX11_CHAR_TRAITS
|
||||
# define SPROUT_NO_CXX11_NUMERIC_LIMITS
|
||||
# endif
|
||||
# else
|
||||
# define SPROUT_NO_CXX11_CHAR_TRAITS
|
||||
# define SPROUT_NO_CXX11_NUMERIC_LIMITS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# define SPROUT_NO_CXX11_HDR_FUTURE
|
||||
# define SPROUT_NO_CXX11_HDR_RANDOM
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue