summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-01-29 23:54:37 +0000
committerRoland McGrath <roland@redhat.com>1992-01-29 23:54:37 +0000
commit3e08b8c56a56a0ba13cb710aa8e43367163fd123 (patch)
treeafb3f8874f75c7ba019501271fc8622891a1d5a2
parentba26d609a1ca9c291bea29a41927ab486675a20c (diff)
downloadgunmake-3e08b8c56a56a0ba13cb710aa8e43367163fd123.tar.gz
Formerly make.h.~41~
-rw-r--r--make.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/make.h b/make.h
index 1a78485..37c64c2 100644
--- a/make.h
+++ b/make.h
@@ -136,11 +136,11 @@ extern void free ();
#undef alloca
#define alloca(n) __builtin_alloca (n)
#else /* Not GCC. */
-#ifdef sparc
+#if defined (sparc) || defined (HAVE_ALLOCA_H)
#include <alloca.h>
-#else /* Not sparc. */
+#else /* Not sparc or HAVE_ALLOCA_H. */
extern char *alloca ();
-#endif /* sparc. */
+#endif /* sparc or HAVE_ALLOCA_H. */
#endif /* GCC. */
#ifndef iAPX286