… | |
… | |
304 | && !defined CORO_PTHREAD && !defined CORO_FIBER |
304 | && !defined CORO_PTHREAD && !defined CORO_FIBER |
305 | # if defined WINDOWS && (defined __i386__ || (__x86_64__ || defined _M_IX86 || defined _M_AMD64) |
305 | # if defined WINDOWS && (defined __i386__ || (__x86_64__ || defined _M_IX86 || defined _M_AMD64) |
306 | # define CORO_ASM 1 |
306 | # define CORO_ASM 1 |
307 | # elif defined WINDOWS || defined _WIN32 |
307 | # elif defined WINDOWS || defined _WIN32 |
308 | # define CORO_LOSER 1 /* you don't win with windoze */ |
308 | # define CORO_LOSER 1 /* you don't win with windoze */ |
309 | # elif __linux && (__i386__ || (__x86_64__ && !__ILP32__) || (__arm__ && __ARCH_ARCH == 7)) |
309 | # elif __linux && (__i386__ || (__x86_64__ && !__ILP32__) || (__arm__ && __ARM_ARCH == 7)) |
310 | # define CORO_ASM 1 |
310 | # define CORO_ASM 1 |
311 | # elif defined HAVE_UCONTEXT_H |
311 | # elif defined HAVE_UCONTEXT_H |
312 | # define CORO_UCONTEXT 1 |
312 | # define CORO_UCONTEXT 1 |
313 | # elif defined HAVE_SETJMP_H && defined HAVE_SIGALTSTACK |
313 | # elif defined HAVE_SETJMP_H && defined HAVE_SIGALTSTACK |
314 | # define CORO_SJLJ 1 |
314 | # define CORO_SJLJ 1 |