diff options
| author | Andi Gutmans <andi@php.net> | 2000-03-26 16:00:35 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2000-03-26 16:00:35 +0000 |
| commit | b763b25c969286592e6e812c2b9001f915c37443 (patch) | |
| tree | 5caefd2d1c621064dd7cdc6ac51fd94dbbf88587 /Zend/zend.h | |
| parent | 3b2bcf3c41ff868080e8ef90cf73af4552664422 (diff) | |
| download | php-git-b763b25c969286592e6e812c2b9001f915c37443.tar.gz | |
- Include Andrea's fix for alloca.h
Diffstat (limited to 'Zend/zend.h')
| -rw-r--r-- | Zend/zend.h | 5 |
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 |
