mirror of
https://github.com/php/php-src.git
synced 2024-12-29 19:59:19 +08:00
Fix gcc version check - bug #50771
This commit is contained in:
parent
5cb21a4ad1
commit
7931525343
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user