mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-25 21:35:41 +00:00
8f818ee63f
add compiler supports
24 lines
869 B
C++
24 lines
869 B
C++
#ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|
|
#define SPROUT_CONFIG_COMPILER_GCC_HPP
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
# define SPROUT_NO_CONSTEXPR
|
|
#endif
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
# define SPROUT_NO_NOEXCEPT
|
|
#endif
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
# define SPROUT_NO_TEMPLATE_ALIASES
|
|
#endif
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
# define SPROUT_NO_USER_DEFINED_LITERALS
|
|
#endif
|
|
|
|
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__))
|
|
# define SPROUT_NO_DELEGATING_CONSTRUCTORS
|
|
#endif
|
|
|
|
#endif // #ifndef SPROUT_CONFIG_COMPILER_GCC_HPP
|