From 17b406a83508e8b2ac984b86e9b72135bf23eba1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 9 Feb 1995 09:31:54 +0000 Subject: [PATCH] [SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined.. [SOLARIS2_4, !__GNUC__]: Include alloca.h. --- src/m/intel386.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +#endif /* HAVE_ALLOCA_H */ +#endif /* not __GNUC__ */ +#endif /* SOLARIS2_4 */ /* configure thinks solaris X86 has gethostname, but it does not work, so undefine it. */ -- 2.39.5