Disable SEH workaround on __MINGW64__ only. (#6957)

This commit is contained in:
Samuel Williams 2022-12-18 16:45:50 -08:00 committed by GitHub
parent d4315284e9
commit 6073782627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2022-12-19 00:46:10 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>

2
cont.c
View File

@ -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;