From 149f786025c559bdcbebb069cab330aa162b3ac7 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Fri, 3 Oct 2003 22:02:55 +0000 Subject: [PATCH] Bug #25738 (alloca() related problems on the Darwin platform) --- Zend/zend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend.h b/Zend/zend.h index 18534acacc..ca40000f0b 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -171,7 +171,7 @@ char *alloca (); #endif -#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) +#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__) # define do_alloca(p) alloca(p) # define free_alloca(p) #else -- 2.40.0