summaryrefslogtreecommitdiff
path: root/yjit.h
diff options
context:
space:
mode:
authorAlan Wu <alanwu@ruby-lang.org>2022-06-26 08:22:44 -0400
committerAlan Wu <alanwu@ruby-lang.org>2022-06-26 08:36:10 -0400
commit2085201176775c1c0b6fd0c4791dbdad6d68c37f (patch)
tree0e3928a678189b1c6374fd7b06d28a8f488ba1b0 /yjit.h
parentc2e37c8ff7da395f33fae546d9ae9e2408fc9236 (diff)
downloadruby-2085201176775c1c0b6fd0c4791dbdad6d68c37f.tar.gz
YJIT: Undef YJIT_SUPPORTED_P for hygiene
YJIT_BUILD is more relevant outside of YJIT.
Diffstat (limited to 'yjit.h')
-rw-r--r--yjit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit.h b/yjit.h
index a1e3efb330..cf420df251 100644
--- a/yjit.h
+++ b/yjit.h
@@ -29,6 +29,8 @@
# define YJIT_BUILD 0
#endif
+#undef YJIT_SUPPORTED_P
+
#if YJIT_BUILD
// Expose these as declarations since we are building YJIT.