summaryrefslogtreecommitdiff
path: root/src/m/intel386.h
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
commit17b406a83508e8b2ac984b86e9b72135bf23eba1 (patch)
treee7b8e39cfb1cb46e93f92b70e9c1f01c3aef28af /src/m/intel386.h
parent5bbf28a8ac8c6b96fb98e646e23a7e0d8cf77190 (diff)
downloademacs-17b406a83508e8b2ac984b86e9b72135bf23eba1.tar.gz
[SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined..
[SOLARIS2_4, !__GNUC__]: Include alloca.h.
Diffstat (limited to 'src/m/intel386.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. */