summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-11 16:32:57 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-11 16:32:57 +0000
commit32e8ee9beed73afdc54f4de8d507d175ca5a366a (patch)
tree968204fad6d191b8d0d7aa88891a8bdf5d093949 /Zend/zend.h
parentb03d1d603289f277a25f2b99906a10383f99b6ef (diff)
downloadphp-git-32e8ee9beed73afdc54f4de8d507d175ca5a366a.tar.gz
MFZE1
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 4901f468ac..e36ce7db0f 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -129,11 +129,13 @@ const char *zend_mh_bundle_error(void);
# define ZEND_EXTENSIONS_SUPPORT 0
#endif
+#if HAVE_ALLOCA_H && !defined(_ALLOCA_H)
+# include <alloca.h>
+#endif
+
/* AIX requires this to be the first thing in the file. */
#ifndef __GNUC__
-# if HAVE_ALLOCA_H
-# include <alloca.h>
-# else
+# ifndef HAVE_ALLOCA_H
# ifdef _AIX
#pragma alloca
# else