aboutsummaryrefslogtreecommitdiffstats
path: root/transient_heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'transient_heap.c')
-rw-r--r--transient_heap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/transient_heap.c b/transient_heap.c
index 50c0a51f2d..7b16bbbbfc 100644
--- a/transient_heap.c
+++ b/transient_heap.c
@@ -15,6 +15,7 @@
#include "transient_heap.h"
#include "debug_counter.h"
+#if USE_TRANSIENT_HEAP /* USE_TRANSIENT_HEAP */
/*
* 1: enable assertions
* 2: enable verify all transient heaps
@@ -854,3 +855,4 @@ rb_transient_heap_finish_marking(void)
transient_heap_verify(theap);
}
+#endif /* USE_TRANSIENT_HEAP */