summaryrefslogtreecommitdiff
path: root/transient_heap.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-25 17:09:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-25 18:04:25 +0900
commit975a6efd7ea144275d4774d18ff0f568c1a1dc97 (patch)
tree29654bf31c7a0628f3a5288a2c5ee75fbfec0e00 /transient_heap.c
parent566bdaef318674c416494786da551021afb1b5d7 (diff)
downloadruby-975a6efd7ea144275d4774d18ff0f568c1a1dc97.tar.gz
Suppress undef warnings for USE_RUBY_DEBUG_LOG
Diffstat (limited to 'transient_heap.c')
-rw-r--r--transient_heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transient_heap.c b/transient_heap.c
index c14cf14613..c3df263491 100644
--- a/transient_heap.c
+++ b/transient_heap.c
@@ -748,7 +748,7 @@ transient_heap_block_evacuate(struct transient_heap* theap, struct transient_hea
}
}
-#if USE_RUBY_DEBUG_LOG
+#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
static const char *
transient_heap_status_cstr(enum transient_heap_status status)
{