summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yjit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/yjit.c b/yjit.c
index dbd9bea25a..bfe79822f0 100644
--- a/yjit.c
+++ b/yjit.c
@@ -22,10 +22,10 @@
# define YJIT_DUMP_MODE 0
#endif
-#ifdef _WIN32
-# define PLATFORM_SUPPORTED_P 0
-#else
+#if defined(__x86_64__) && !defined(_WIN32)
# define PLATFORM_SUPPORTED_P 1
+#else
+# define PLATFORM_SUPPORTED_P 0
#endif
// USE_MJIT comes from configure options