From: Pierre Joye Date: Wed, 3 Feb 2010 20:44:43 +0000 (+0000) Subject: - Fix gcc version check - bug #50771 X-Git-Tag: php-5.3.2RC2~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbe65b07d76bb2b19de2a737f98e4a40d8d65a00;p=php - Fix gcc version check - bug #50771 --- diff --git a/Zend/zend.h b/Zend/zend.h index 69bff1e12c..38f461c350 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -166,7 +166,7 @@ char *alloca (); # define ZEND_ATTRIBUTE_DEPRECATED #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 && defined(__i386__) +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__) # define ZEND_FASTCALL __attribute__((fastcall)) #elif defined(_MSC_VER) && defined(_M_IX86) # define ZEND_FASTCALL __fastcall @@ -174,7 +174,7 @@ char *alloca (); # define ZEND_FASTCALL #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 #else # define __restrict__ #endif