undefine YIELDING for the Emscripten js converter

This commit is contained in:
Martin Kroeker 2022-09-14 17:04:11 +02:00 committed by GitHub
parent dc856de3af
commit 9773a9d6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -387,6 +387,10 @@ typedef int blasint;
#endif
*/
#ifdef __EMSCRIPTEN__
#define YIELDING
#endif
#ifndef YIELDING
#define YIELDING sched_yield()
#endif