summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-02-09 09:31:54 +0000
committerRichard M. Stallman <rms@gnu.org>1995-02-09 09:31:54 +0000
commit8807e48fe88085567d6bd4193c6c352ce8ad8efe (patch)
tree094a15ccdb173dcab8c2d8753896da1780e0777e
parent1e04499bf5578870454559126422e194b793a0ee (diff)
downloademacs-8807e48fe88085567d6bd4193c6c352ce8ad8efe.tar.gz
[SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined..
[SOLARIS2_4, !__GNUC__]: Include alloca.h.
-rw-r--r--src/m/intel386.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 0112a0daebf..77839be778e 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -130,7 +130,15 @@ NOTE-END */
#endif /* GCC */
#define HAVE_VFORK
-#endif
+#else /* SOLARIS2_4 */
+#ifndef __GNUC__
+#undef C_SWITCH_SYSTEM
+#define C_SWITCH_SYSTEM -Xa
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif /* HAVE_ALLOCA_H */
+#endif /* not __GNUC__ */
+#endif /* SOLARIS2_4 */
/* configure thinks solaris X86 has gethostname, but it does not work,
so undefine it. */