Browse Source
Merge pull request #3766 from martin-frbg/issue3640
Add (minimal) initial support for processing with the Emscripten Javascript converter
tags/v0.3.22^2
Martin Kroeker
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
0 deletions
-
common.h
-
ctest.c
|
|
@@ -387,6 +387,10 @@ typedef int blasint; |
|
|
|
#endif |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifdef __EMSCRIPTEN__ |
|
|
|
#define YIELDING |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef YIELDING |
|
|
|
#define YIELDING sched_yield() |
|
|
|
#endif |
|
|
|
|
|
@@ -173,3 +173,8 @@ HAVE_C11 |
|
|
|
ARCH_E2K |
|
|
|
#endif |
|
|
|
|
|
|
|
#if defined(__EMSCRIPTEN__) |
|
|
|
ARCH_RISCV64 |
|
|
|
OS_WINDOWS |
|
|
|
#endif |
|
|
|
|