aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-20 23:48:39 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-20 23:48:43 -0800
commit8750d001c2d02894d0014c1f61009e2bccb8d428 (patch)
tree687584b625929a10f6caeeffac03c46a1cd7acc6 /mjit.c
parent27d5af59a359909e0d434459c30cfc0940f60a5b (diff)
downloadruby-8750d001c2d02894d0014c1f61009e2bccb8d428.tar.gz
Fix wrong #ifdef usages with #if
Apparently #ifdef is always true
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 3da9d95d3c..cc6e3da889 100644
--- a/mjit.c
+++ b/mjit.c
@@ -887,7 +887,7 @@ skip_cleaning_object_files(struct rb_mjit_unit_list *list)
// No mutex for list, assuming MJIT worker does not exist yet since it's immediately after fork.
list_for_each_safe(&list->head, unit, next, unode) {
-#ifdef USE_JIT_COMPACTION
+#if USE_JIT_COMPACTION
if (unit->c_file) unit->c_file_inherited_p = true;
#endif