fixed checking gcc version

This commit is contained in:
rhysd 2013-08-14 00:49:25 +09:00
parent 6f8213b7cc
commit 5160ea064d

View file

@ -44,11 +44,11 @@
# define SPROUT_NO_CXX11_UNICODE_LITERALS # define SPROUT_NO_CXX11_UNICODE_LITERALS
#endif #endif
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) #if ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
# define SPROUT_HAS_CONSTEXPR_CMATH_FUNCTION # define SPROUT_HAS_CONSTEXPR_CMATH_FUNCTION
#endif #endif
#if ((__GNUC__ >= 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) #if ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__GXX_EXPERIMENTAL_CXX0X__))
# define SPROUT_HAS_CONSTEXPR_BIT_OPERATION # define SPROUT_HAS_CONSTEXPR_BIT_OPERATION
#endif #endif