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
parent
commit
dd846e72ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions
  1. +4
    -0
      common.h
  2. +5
    -0
      ctest.c

+ 4
- 0
common.h View File

@@ -387,6 +387,10 @@ typedef int blasint;
#endif
*/

#ifdef __EMSCRIPTEN__
#define YIELDING
#endif

#ifndef YIELDING
#define YIELDING sched_yield()
#endif


+ 5
- 0
ctest.c View File

@@ -173,3 +173,8 @@ HAVE_C11
ARCH_E2K
#endif

#if defined(__EMSCRIPTEN__)
ARCH_RISCV64
OS_WINDOWS
#endif


Loading…
Cancel
Save