Browse Source

undefine YIELDING for the Emscripten js converter

tags/v0.3.22^2
Martin Kroeker GitHub 3 years ago
parent
commit
9773a9d6b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      common.h

+ 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


Loading…
Cancel
Save