From a493732c8e4d038885ae40c71dd3fc5118f36809 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku Date: Fri, 31 Dec 2021 20:13:11 +0900 Subject: [PATCH] re-enabled YJIT on x64-mswin64 note that YJIT does not work correctly on the platform now. --- yjit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit.h b/yjit.h index c500fb1a69..cc1e23d327 100644 --- a/yjit.h +++ b/yjit.h @@ -16,7 +16,7 @@ #endif // We generate x86 assembly -#if defined(__x86_64__) +#if (defined(__x86_64__) && !defined(_WIN32)) || (defined(_WIN32) && defined(_M_AMD64)) // x64 platforms without mingw/msys # define YJIT_SUPPORTED_P 1 #else # define YJIT_SUPPORTED_P 0