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~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15e31de034ad02c801ce0835fad12adfe636e70f;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