summaryrefslogtreecommitdiff
path: root/ractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'ractor.c')
-rw-r--r--ractor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor.c b/ractor.c
index d6559dfc2a..3c05964e91 100644
--- a/ractor.c
+++ b/ractor.c
@@ -545,7 +545,7 @@ ractor_sleep_interrupt(void *ptr)
RACTOR_UNLOCK(r);
}
-#if USE_RUBY_DEBUG_LOG
+#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
static const char *
wait_status_str(enum ractor_wait_status wait_status)
{