From 77a0fa101ed59f05ea07b03adb1cb66962fc45e7 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 30 Aug 2019 17:24:06 +0200 Subject: [PATCH] Reenable alloca support on ZTS This got disabled due to an incorrect change in a preprocessor condition in 2104bea5d756dfa40b605a4a2765a3bc4637a76c. It was not supposed to be disabled. --- Zend/zend_portability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index 89173642d2..978f25bbfb 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -355,7 +355,7 @@ char *alloca(); #endif -#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN) +#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN) # define ZEND_ALLOCA_MAX_SIZE (32 * 1024) # define ALLOCA_FLAG(name) \ zend_bool name; -- 2.50.1