From 6073782627b8a4976cab232daab2350e36c21cdd Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sun, 18 Dec 2022 16:45:50 -0800 Subject: Disable SEH workaround on __MINGW64__ only. (#6957) --- cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index 49629efd90..72331fcc93 100644 --- a/cont.c +++ b/cont.c @@ -1578,7 +1578,7 @@ cont_restore_1(rb_context_t *cont) cont_restore_thread(cont); /* restore machine stack */ -#ifdef _M_AMD64 +#if defined(_M_AMD64) && !defined(__MINGW64__) { /* workaround for x64 SEH */ jmp_buf buf; -- cgit v1.2.1