mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-03 21:29:03 +00:00
don't re-declare sigsegv_info_t, instead use the one from the header
This commit is contained in:
parent
8375c57047
commit
04bec66567
@ -1623,15 +1623,6 @@ void sigusr2_handler(int sig, siginfo_t *sip, void *scp)
|
||||
*/
|
||||
|
||||
#if !EMULATED_PPC
|
||||
// XXX: don't redefine locally?
|
||||
// Note: Original declaration is in sigsegv.cpp
|
||||
// FIXME: If HAVE_MACH_EXCEPTIONS is set, sigsegv_info_t has a bunch of other
|
||||
// fields too! Let's hope Screen_fault_handler() doesn't use them...
|
||||
struct sigsegv_info_t {
|
||||
sigsegv_address_t addr;
|
||||
sigsegv_address_t pc;
|
||||
};
|
||||
|
||||
static void sigsegv_handler(int sig, siginfo_t *sip, void *scp)
|
||||
{
|
||||
machine_regs *r = MACHINE_REGISTERS(scp);
|
||||
|
Loading…
Reference in New Issue
Block a user