From: Rasmus Lerdorf Date: Fri, 15 Jan 2010 18:26:53 +0000 (+0000) Subject: Fix gcc version check - bug #50771 X-Git-Tag: php-5.4.0alpha1~191^2~2080 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7931525343079526a42415a068b0e61c9cd53cba;p=php Fix gcc version check - bug #50771 --- diff --git a/Zend/zend.h b/Zend/zend.h index b7aa9dd322..93ca07d89c 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -167,7 +167,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 @@ -175,7 +175,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