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