We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
USE_MN_THREADS
1 parent 3a2e56e commit e042e10Copy full SHA for e042e10
vm_dump.c
@@ -515,7 +515,7 @@ rb_vmdebug_thread_dump_state(FILE *errout, VALUE self)
515
static bool
516
is_coroutine_start(unw_word_t ip)
517
{
518
-#if USE_MN_THREADS
+#if defined(USE_MN_THREADS) && USE_MN_THREADS
519
struct coroutine_context;
520
extern void ruby_coroutine_start(struct coroutine_context *, struct coroutine_context *);
521
return ((void *)(ip) == (void *)ruby_coroutine_start);
0 commit comments