Skip to content

Commit dd846e7

Browse files
authored
Merge pull request #3766 from martin-frbg/issue3640
Add (minimal) initial support for processing with the Emscripten Javascript converter
2 parents dc856de + b285307 commit dd846e7

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

common.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ typedef int blasint;
387387
#endif
388388
*/
389389

390+
#ifdef __EMSCRIPTEN__
391+
#define YIELDING
392+
#endif
393+
390394
#ifndef YIELDING
391395
#define YIELDING sched_yield()
392396
#endif

ctest.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,8 @@ HAVE_C11
173173
ARCH_E2K
174174
#endif
175175

176+
#if defined(__EMSCRIPTEN__)
177+
ARCH_RISCV64
178+
OS_WINDOWS
179+
#endif
180+

0 commit comments

Comments
 (0)