mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove restrict zend_portability define
We're not using this anywhere, and it causes warnings, so I'm dropping it. If we do end up needing this, it should be reintroduced with a ZEND_ prefix.
This commit is contained in:
parent
2d823cb681
commit
c51eafe931
1 changed files with 0 additions and 8 deletions
|
@ -256,14 +256,6 @@ char *alloca();
|
|||
# define ZEND_FASTCALL
|
||||
#endif
|
||||
|
||||
#ifndef restrict
|
||||
# if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004
|
||||
# else
|
||||
# define __restrict__
|
||||
# endif
|
||||
# define restrict __restrict__
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)) || __has_attribute(noreturn)
|
||||
# define HAVE_NORETURN
|
||||
# define ZEND_NORETURN __attribute__((noreturn))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue