Skip to content

Commit 77a0fa1

Browse files
committed
Reenable alloca support on ZTS
This got disabled due to an incorrect change in a preprocessor condition in 2104bea. It was not supposed to be disabled.
1 parent 1e4cc5b commit 77a0fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ char *alloca();
355355

356356
#endif
357357

358-
#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
358+
#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
359359
# define ZEND_ALLOCA_MAX_SIZE (32 * 1024)
360360
# define ALLOCA_FLAG(name) \
361361
zend_bool name;

0 commit comments

Comments
 (0)