build ok on windows

This commit is contained in:
郑树新 2023-01-03 22:30:32 +08:00
parent 408c6e0db0
commit 5a4294cef4

View File

@ -63,7 +63,7 @@ void fiber_real_swap(ACL_FIBER *from, ACL_FIBER *to)
static void WINAPI fiber_win_start(LPVOID ctx)
{
FIBER_WIN *fb = (FIBER_WIN *) ctx;
fiber_start(&fb->fiber, fb->fn, fn->arg);
fiber_start(&fb->fiber, fb->fn, fb->arg);
}
void fiber_real_init(ACL_FIBER *fiber, size_t size,