cvs: Zend / zend.h
| From: | Ilia Alshanetsky | Date: | Mon, 11 Nov 2002 16:31:52 +0000 |
| Subject: | cvs: Zend / zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-597@lists.php.net to get a copy of this message | ||
iliaa Mon Nov 11 11:31:52 2002 EDT
Modified files:
/Zend zend.h
Log:
Fix missing header warnings (alloca.h) on Sun Os & Tru64.
Index: Zend/zend.h
diff -u Zend/zend.h:1.163 Zend/zend.h:1.164
--- Zend/zend.h:1.163 Wed Oct 9 02:19:10 2002
+++ Zend/zend.h Mon Nov 11 11:31:52 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.163 2002/10/09 06:19:10 sebastian Exp $ */
+/* $Id: zend.h,v 1.164 2002/11/11 16:31:52 iliaa Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -117,11 +117,13 @@
# 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