From: Roland McGrath Date: Thu, 30 Jan 2003 20:15:23 +0000 (+0000) Subject: 2003-01-23 Roland McGrath X-Git-Tag: v4.5.18~823 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30ff45ed74c5f000dcd23b83ed7193cd6d63e17d;p=strace 2003-01-23 Roland McGrath * signal.c: Reorder #ifdefs so HAVE_ASM_SIGCONTEXT_H doesn't matter on SPARC, which doesn't use the header regardless. * util.c [LINUX && SPARC]: Do renaming kludges around like signal.c does. --- diff --git a/signal.c b/signal.c index ad9e616f..64b15682 100644 --- a/signal.c +++ b/signal.c @@ -64,28 +64,28 @@ #endif /* !IA64 */ #if HAVE_ASM_REG_H -#ifdef SPARC +# ifdef SPARC # define fpq kernel_fpq # define fq kernel_fq # define fpu kernel_fpu -#endif -#include -#ifdef SPARC +# endif +# include +# ifdef SPARC # undef fpq # undef fq # undef fpu -#endif - +# endif #endif /* HAVE_ASM_REG_H */ -#ifdef HAVE_ASM_SIGCONTEXT_H + #ifdef SPARC typedef struct { struct regs si_regs; int si_mask; } m_siginfo_t; -#elif !defined(IA64) && !defined(X86_64) +#elif defined HAVE_ASM_SIGCONTEXT_H +#if !defined(IA64) && !defined(X86_64) #include -#endif /* SPARC */ +#endif /* !IA64 && !X86_64 */ #else /* !HAVE_ASM_SIGCONTEXT_H */ #ifdef I386 struct sigcontext_struct {