Merge pull request #16 from rhysd/fix/gcc_version_check

fixed checking gcc version
This commit is contained in:
Bolero MURAKAMI 2013-08-13 17:06:44 -07:00
commit 3800b22a22

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