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

This commit is contained in:
Juergen Lock 1999-09-03 12:46:38 +00:00 committed by Alexandre Julliard
parent dfd69a38e8
commit 808403fe6f
1 changed files with 2 additions and 2 deletions

View File

@ -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 */