Commit 808403fe authored by Juergen Lock's avatar Juergen Lock Committed by Alexandre Julliard

Fix EXC_segv for the TRAP_sig undefined case (eg FreeBSD).

parent dfd69a38
......@@ -500,8 +500,8 @@ static HANDLER_DEF(EXC_segv)
break;
}
#else /* TRAP_sig */
# ifdef __i386
if (INSTR_EmulateInstruction( &context )) return;
# ifdef __i386__
if (INSTR_EmulateInstruction( &context )) goto restore;
# endif
rec.ExceptionCode = EXCEPTION_ILLEGAL_INSTRUCTION; /* generic error */
#endif /* TRAP_sig */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment