From 5160ea064d561fd3ccd5d2e34a13a8c98c3c2a06 Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 14 Aug 2013 00:49:25 +0900 Subject: [PATCH] fixed checking gcc version --- sprout/config/compiler/gcc.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sprout/config/compiler/gcc.hpp b/sprout/config/compiler/gcc.hpp index 8e8c020a..3c744e55 100644 --- a/sprout/config/compiler/gcc.hpp +++ b/sprout/config/compiler/gcc.hpp @@ -44,11 +44,11 @@ # define SPROUT_NO_CXX11_UNICODE_LITERALS #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 #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 #endif