Re: [PHP4BETA] Need to include alloca.h in zend.h
| From: | Andi Gutmans | Date: | Sun, 26 Mar 2000 16:00:42 +0000 |
| Subject: | Re: [PHP4BETA] Need to include alloca.h in zend.h | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12631@lists.php.net to get a copy of this message | ||
OK done.
Thanks,
Andi
On Sun, 26 Mar 2000, Andreas Karajannis wrote:
>
> Please include the following patch to zend.h to allow compilation with
> non gnu compilers.
>
> *** zend.h Sun Mar 26 15:10:16 2000
> --- zend.h.new Sun Mar 26 14:34:30 2000
> ***************
> *** 84,89 ****
> --- 84,92 ----
> #endif
>
> #if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) &&
> !(defined(ZTS) && defined(ZEND_WIN32))
> + #if (HAVE_ALLOCA_H)
> + #include <alloca.h>
> + #endif
> # define do_alloca(p) alloca(p)
> # define free_alloca(p)
> #else
>
>