Skip to content

Commit e042e10

Browse files
committed
vm_dump.c: avoid USE_MN_THREADS is not defined warning
1 parent 3a2e56e commit e042e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ rb_vmdebug_thread_dump_state(FILE *errout, VALUE self)
515515
static bool
516516
is_coroutine_start(unw_word_t ip)
517517
{
518-
#if USE_MN_THREADS
518+
#if defined(USE_MN_THREADS) && USE_MN_THREADS
519519
struct coroutine_context;
520520
extern void ruby_coroutine_start(struct coroutine_context *, struct coroutine_context *);
521521
return ((void *)(ip) == (void *)ruby_coroutine_start);

0 commit comments

Comments
 (0)