mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
More "correct" emscripten support.
This commit is contained in:
parent
21a355c89f
commit
0ca0180f27
@ -57,7 +57,7 @@ JANET_THREAD_LOCAL jmp_buf *janet_vm_jmp_buf = NULL;
|
|||||||
/* How we dispatch instructions. By default, we use
|
/* How we dispatch instructions. By default, we use
|
||||||
* a switch inside an infinite loop. For GCC/clang, we use
|
* a switch inside an infinite loop. For GCC/clang, we use
|
||||||
* computed gotos. */
|
* computed gotos. */
|
||||||
#if defined(__GNUC__) && !defined(EMSCRIPTEN)
|
#if defined(__GNUC__) && !defined(__EMSCRIPTEN__)
|
||||||
#define JANET_USE_COMPUTED_GOTOS
|
#define JANET_USE_COMPUTED_GOTOS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user