diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-11 15:32:30 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-11 15:32:30 +0200 |
commit | c51eafe931464e920c628b9cfa03a26878f352fb (patch) | |
tree | 02d8f1d6b878bd84abc182c353e5256558d6c0f4 | |
parent | 2d823cb6811cf51675693d4405b4f16f75acac2b (diff) | |
download | php-git-c51eafe931464e920c628b9cfa03a26878f352fb.tar.gz |
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.
-rw-r--r-- | Zend/zend_portability.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index 56b7a1ada3..b0eb20bf40 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -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)) |