]> granicus.if.org Git - php/commitdiff
Fix gcc version check - bug #50771
authorRasmus Lerdorf <rasmus@php.net>
Fri, 15 Jan 2010 18:26:53 +0000 (18:26 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Fri, 15 Jan 2010 18:26:53 +0000 (18:26 +0000)
Zend/zend.h

index b7aa9dd32211a867b14766dda872e0560f16b374..93ca07d89caf0f7513fa434628d76d61170b4015 100644 (file)
@@ -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