diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-25 17:09:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-25 18:04:25 +0900 |
commit | 975a6efd7ea144275d4774d18ff0f568c1a1dc97 (patch) | |
tree | 29654bf31c7a0628f3a5288a2c5ee75fbfec0e00 /ractor.c | |
parent | 566bdaef318674c416494786da551021afb1b5d7 (diff) |
Suppress undef warnings for USE_RUBY_DEBUG_LOG
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5345
Diffstat (limited to 'ractor.c')
-rw-r--r-- | ractor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |