]> granicus.if.org Git - php/commitdiff
- Fix gcc version check - bug #50771
authorPierre Joye <pajoye@php.net>
Wed, 3 Feb 2010 20:44:43 +0000 (20:44 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 3 Feb 2010 20:44:43 +0000 (20:44 +0000)
Zend/zend.h

index 69bff1e12cc0255d7451909a073081c29d2b98a3..38f461c350388b4c074938687f61a054e87027c3 100644 (file)
@@ -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