summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-13 23:43:08 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-13 23:43:08 +0000
commitacc0551fb1af1152c1b630ff5e82f023f11751e2 (patch)
treeac9778c4b7b721c663377fd5c3bece7d724ed3d9
parentb8301067b6e962a3dc786dd909726b7e6cb81085 (diff)
#define INCLUDE_ALLOCA_H when building with Sun compilers. (Imake *.cf
files define this for a number of platforms in the monolith, but these will need to be translated into #ifdef's or similar mechanism to work in a world without Imake.)
-rw-r--r--Xalloca.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xalloca.h b/Xalloca.h
index 0db456a..99c218f 100644
--- a/Xalloca.h
+++ b/Xalloca.h
@@ -61,6 +61,10 @@ from The Open Group.
#ifndef XALLOCA_H
#define XALLOCA_H 1
+#if defined(__SUNPRO_C) /* Need to add more here to match Imake *.cf's */
+# define INCLUDE_ALLOCA_H
+#endif
+
#ifdef INCLUDE_ALLOCA_H
# include <alloca.h>
#endif