From c32dd70c7f5fed09112f6da96ba2e92ec5605376 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Wed, 17 Jul 2024 17:41:57 +0100 Subject: [PATCH] exclude windows from loading stuff it doesn't have --- mmtk_support.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmtk_support.c b/mmtk_support.c index 015b5af9eb8e59..c5b62453bbe79e 100644 --- a/mmtk_support.c +++ b/mmtk_support.c @@ -11,7 +11,9 @@ #include "vm_core.h" #include "ruby/st.h" #include "vm_sync.h" +#ifndef _WIN32 #include "stdatomic.h" +#endif #ifdef __APPLE__ #include