summaryrefslogtreecommitdiff
path: root/lang/php53/files/patch-Zend__zend.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/files/patch-Zend__zend.h')
-rw-r--r--lang/php53/files/patch-Zend__zend.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php53/files/patch-Zend__zend.h b/lang/php53/files/patch-Zend__zend.h
new file mode 100644
index 000000000000..0fb2398f171d
--- /dev/null
+++ b/lang/php53/files/patch-Zend__zend.h
@@ -0,0 +1,11 @@
+--- Zend/zend.h.orig 2008-08-15 21:47:23.000000000 +0200
++++ Zend/zend.h 2008-09-25 22:52:50.000000000 +0200
+@@ -192,7 +192,7 @@
+ # define ZEND_FASTCALL
+ #endif
+
+-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
++#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN) && !(defined(ZTS) && defined(__FreeBSD__))
+ # define ZEND_ALLOCA_MAX_SIZE (32 * 1024)
+ # define ALLOCA_FLAG(name) \
+ zend_bool name;