summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-26 16:00:35 +0000
committerAndi Gutmans <andi@php.net>2000-03-26 16:00:35 +0000
commitb763b25c969286592e6e812c2b9001f915c37443 (patch)
tree5caefd2d1c621064dd7cdc6ac51fd94dbbf88587 /Zend/zend.h
parent3b2bcf3c41ff868080e8ef90cf73af4552664422 (diff)
downloadphp-git-b763b25c969286592e6e812c2b9001f915c37443.tar.gz
- Include Andrea's fix for alloca.h
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index c47c256292..23b3319039 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -83,11 +83,10 @@
# define ZEND_EXTENSIONS_SUPPORT 0
#endif
-#if defined(HAVE_ALLOCA) && defined(HAVE_ALLOCA_H)
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32))
+#if HAVE_ALLOCA_H
# include <alloca.h>
#endif
-
-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32))
# define do_alloca(p) alloca(p)
# define free_alloca(p)
#else