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;