mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-15 11:27:35 +00:00
- Fix compilation on Linux/x86 with SIGCONTEXT_SUBTERFUGE
This commit is contained in:
@@ -245,7 +245,7 @@ static void powerpc_decode_instruction(instruction_t *instruction, unsigned int
|
|||||||
#define SIGSEGV_FAULT_HANDLER_ARGLIST int sig, struct sigcontext scs
|
#define SIGSEGV_FAULT_HANDLER_ARGLIST int sig, struct sigcontext scs
|
||||||
#define SIGSEGV_FAULT_ADDRESS scs.cr2
|
#define SIGSEGV_FAULT_ADDRESS scs.cr2
|
||||||
#define SIGSEGV_FAULT_INSTRUCTION scs.eip
|
#define SIGSEGV_FAULT_INSTRUCTION scs.eip
|
||||||
#define SIGSEGV_REGISTER_FILE (unsigned long *)(&scs)
|
#define SIGSEGV_REGISTER_FILE (unsigned int *)(&scs)
|
||||||
#define SIGSEGV_SKIP_INSTRUCTION ix86_skip_instruction
|
#define SIGSEGV_SKIP_INSTRUCTION ix86_skip_instruction
|
||||||
#endif
|
#endif
|
||||||
#if (defined(sparc) || defined(__sparc__))
|
#if (defined(sparc) || defined(__sparc__))
|
||||||
|
Reference in New Issue
Block a user