mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
vm_dump.c: avoid USE_MN_THREADS
is not defined warning
This commit is contained in:
parent
3a2e56e685
commit
e042e10644
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ rb_vmdebug_thread_dump_state(FILE *errout, VALUE self)
|
|||
static bool
|
||||
is_coroutine_start(unw_word_t ip)
|
||||
{
|
||||
#if USE_MN_THREADS
|
||||
#if defined(USE_MN_THREADS) && USE_MN_THREADS
|
||||
struct coroutine_context;
|
||||
extern void ruby_coroutine_start(struct coroutine_context *, struct coroutine_context *);
|
||||
return ((void *)(ip) == (void *)ruby_coroutine_start);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue