From 9773a9d6b3da46a8c499d0dcc22030641006fa7b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 14 Sep 2022 17:04:11 +0200 Subject: [PATCH] undefine YIELDING for the Emscripten js converter --- common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.h b/common.h index e6002d322..4eeeb8d55 100644 --- a/common.h +++ b/common.h @@ -387,6 +387,10 @@ typedef int blasint; #endif */ +#ifdef __EMSCRIPTEN__ +#define YIELDING +#endif + #ifndef YIELDING #define YIELDING sched_yield() #endif