win32 paranoia in seh handling
parent
d205fc3808
commit
0a8ac653de
|
@ -230,7 +230,9 @@ long getpagesize (void) {
|
|||
|
||||
static void exception_handler(PEXCEPTION_RECORD rec, void *frame, void *ctx, void *dispatch)
|
||||
{
|
||||
memory_protection_error((void*)rec->ExceptionInformation[1],SIGSEGV);
|
||||
memory_protection_error(
|
||||
rec->NumberParameters >= 2 ? (void*)rec->ExceptionInformation[1] : 0,
|
||||
SIGSEGV);
|
||||
}
|
||||
|
||||
void platform_run(void)
|
||||
|
|
Loading…
Reference in New Issue