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) ...@@ -500,8 +500,8 @@ static HANDLER_DEF(EXC_segv)
break; break;
} }
#else /* TRAP_sig */ #else /* TRAP_sig */
# ifdef __i386 # ifdef __i386__
if (INSTR_EmulateInstruction( &context )) return; if (INSTR_EmulateInstruction( &context )) goto restore;
# endif # endif
rec.ExceptionCode = EXCEPTION_ILLEGAL_INSTRUCTION; /* generic error */ rec.ExceptionCode = EXCEPTION_ILLEGAL_INSTRUCTION; /* generic error */
#endif /* TRAP_sig */ #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