Need to include alloca.h in zend.h
| From: | Andreas Karajannis | Date: | Sun, 26 Mar 2000 13:20:18 +0000 |
| Subject: | Need to include alloca.h in zend.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12624@lists.php.net to get a copy of this message | ||
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