cvs: TSRM / tsrm_config_common.h
| From: | Ilia Alshanetsky | Date: | Mon, 11 Nov 2002 16:32:36 +0000 |
| Subject: | cvs: TSRM / tsrm_config_common.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15994@lists.php.net to get a copy of this message | ||
iliaa Mon Nov 11 11:32:36 2002 EDT
Modified files:
/TSRM tsrm_config_common.h
Log:
Fix missing header warnings (alloca.h) on Sun Os & Tru64.
Index: TSRM/tsrm_config_common.h
diff -u TSRM/tsrm_config_common.h:1.8 TSRM/tsrm_config_common.h:1.9
--- TSRM/tsrm_config_common.h:1.8 Wed Aug 7 10:47:05 2002
+++ TSRM/tsrm_config_common.h Mon Nov 11 11:32:36 2002
@@ -14,11 +14,13 @@
# include <sys/param.h>
#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