From 975a6efd7ea144275d4774d18ff0f568c1a1dc97 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 25 Dec 2021 17:09:19 +0900 Subject: Suppress undef warnings for USE_RUBY_DEBUG_LOG --- transient_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transient_heap.c') 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) { -- cgit v1.2.1