summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2009-06-01 15:07:42 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2009-06-01 15:07:42 +0000
commit2403a580112a921a46f0491ef38efa82703ea31e (patch)
tree3aa427a661b33d82b468cf804a30e22d5c2ae37f /Zend/zend.h
parent083ed5b3e51c6380d6d239b9c4944d42a905bdac (diff)
downloadphp-git-2403a580112a921a46f0491ef38efa82703ea31e.tar.gz
MFH: better fix for #48409 , #48428 , #48228
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index ed7cc78904..935e113241 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -192,6 +192,12 @@ char *alloca ();
# define ZEND_FASTCALL
#endif
+#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400
+#else
+# define __restrict__
+#endif
+#define restrict __restrict__
+
#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
# define ZEND_ALLOCA_MAX_SIZE (32 * 1024)
# define ALLOCA_FLAG(name) \