mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix gcc version check - bug #50771
This commit is contained in:
parent
e3e76d7baf
commit
15e31de034
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue