From: Moriyoshi Koizumi Date: Fri, 3 Oct 2003 22:02:55 +0000 (+0000) Subject: Bug #25738 (alloca() related problems on the Darwin platform) X-Git-Tag: BEFORE_HANDLERS_RESHUFFLE~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=149f786025c559bdcbebb069cab330aa162b3ac7;p=php Bug #25738 (alloca() related problems on the Darwin platform) --- 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