summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-12-18 16:45:50 -0800
committerGitHub <noreply@github.com>2022-12-19 13:45:50 +1300
commit6073782627b8a4976cab232daab2350e36c21cdd (patch)
tree7f3223ed181ed2437efadfeb88c6d7b2080da9e0 /cont.c
parentd4315284e9382caf264e66ecf890f5a45d85c5e3 (diff)
downloadruby-6073782627b8a4976cab232daab2350e36c21cdd.tar.gz
Disable SEH workaround on __MINGW64__ only. (#6957)
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
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;