From 436c24ef25e4abfcc339b6cbff158318d5209698 Mon Sep 17 00:00:00 2001 From: Moritz Bitsch Date: Mon, 30 Jul 2018 11:44:56 +0200 Subject: [PATCH] use ucontext coroutines for arm-linux arm-linux works ok with ucontext --- coro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coro.h b/coro.h index 3b08b81..674f67a 100644 --- a/coro.h +++ b/coro.h @@ -305,7 +305,7 @@ void coro_stack_free (struct coro_stack *stack); # define CORO_LOSER 1 /* you don't win with windoze */ # elif (__linux || __OpenBSD__ || __APPLE__) && (__i386 || (__x86_64 && !__ILP32)) # define CORO_ASM 1 -# elif defined HAVE_UCONTEXT_H +# elif defined HAVE_UCONTEXT_H || (__linux) # define CORO_UCONTEXT 1 # elif defined HAVE_SETJMP_H && defined HAVE_SIGALTSTACK # define CORO_SJLJ 1