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.
1 parent 8417d09 commit d07aa67Copy full SHA for d07aa67
cont.c
@@ -822,7 +822,10 @@ fiber_restore_thread(rb_thread_t *th, rb_fiber_t *fiber)
822
VM_ASSERT(th->ec->fiber_ptr == fiber);
823
}
824
825
-NORETURN(static COROUTINE fiber_entry(struct coroutine_context * from, struct coroutine_context * to));
+#ifndef COROUTINE_DECL
826
+# define COROUTINE_DECL COROUTINE
827
+#endif
828
+NORETURN(static COROUTINE_DECL fiber_entry(struct coroutine_context * from, struct coroutine_context * to));
829
static COROUTINE
830
fiber_entry(struct coroutine_context * from, struct coroutine_context * to)
831
{
0 commit comments