From: Chris Hanson Date: Fri, 20 Mar 1998 22:02:26 +0000 (+0000) Subject: Change name of Linux sigcontext structure, because RedHat defines a X-Git-Tag: 20090517-FFI~4823 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=9c356b69fff6599f7b429c7b8212c00a1a0806ad;p=mit-scheme.git Change name of Linux sigcontext structure, because RedHat defines a conflicting structure in their newer releases. --- diff --git a/v7/src/microcode/uxtrap.h b/v7/src/microcode/uxtrap.h index 9b72dd799..e2d85e19e 100644 --- a/v7/src/microcode/uxtrap.h +++ b/v7/src/microcode/uxtrap.h @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: uxtrap.h,v 1.25 1996/08/19 18:46:52 adams Exp $ +$Id: uxtrap.h,v 1.26 1998/03/20 22:02:26 cph Exp $ -Copyright (c) 1990-1993 Massachusetts Institute of Technology +Copyright (c) 1990-98 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -457,7 +457,7 @@ struct full_sigcontext #define SIGINFO_CODE(info) (0) /* Here's the "iBCS signal stack", whatever that means. */ -struct sigcontext { +struct linux_sigcontext { long sc_gs, sc_fs, sc_es, sc_ds, sc_edi, sc_esi, sc_ebp, sc_esp, sc_ebx; long sc_edx, sc_ecx, sc_eax, sc_trapno, sc_err, sc_eip, sc_cs, sc_eflags; long sc_esp_again, sc_ss; @@ -481,7 +481,7 @@ struct sigcontext { #define FULL_SIGCONTEXT_NREGS 19 #define FULL_SIGCONTEXT_FIRST_REG(scp) (scp) -#define SIGCONTEXT sigcontext +#define SIGCONTEXT linux_sigcontext #define SIGCONTEXT_SP(scp) ((scp)->sc_esp) #define SIGCONTEXT_PC(scp) ((scp)->sc_eip)