USE_RUBY_DEBUG_LOG doesn't check RUBY_DEVEL

`USE_RUBY_DEBUG_LOG` was only defined when `RUBY_DEVEL` is defined.
This patch removes this dependency (`USE_RUBY_DEBUG_LOG` is defined
independently from `RUBY_DEVEL`).

Do not commit a patch which enables `USE_RUBY_DEBUG_LOG`.
This commit is contained in:
Koichi Sasada 2021-12-28 17:58:39 +09:00
parent 763592d208
commit c9af8a32a0
Notes: git 2021-12-29 00:22:28 +09:00
5 changed files with 8 additions and 25 deletions

View file

@ -545,7 +545,7 @@ ractor_sleep_interrupt(void *ptr)
RACTOR_UNLOCK(r);
}
#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
#if USE_RUBY_DEBUG_LOG
static const char *
wait_status_str(enum ractor_wait_status wait_status)
{