From 0ca0180f278baf10df0f981c16c79d21168f2bca Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 14 Jul 2019 16:11:00 -0500 Subject: [PATCH] More "correct" emscripten support. --- src/core/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vm.c b/src/core/vm.c index 422cc3cb..0cb546b0 100644 --- a/src/core/vm.c +++ b/src/core/vm.c @@ -57,7 +57,7 @@ JANET_THREAD_LOCAL jmp_buf *janet_vm_jmp_buf = NULL; /* How we dispatch instructions. By default, we use * a switch inside an infinite loop. For GCC/clang, we use * computed gotos. */ -#if defined(__GNUC__) && !defined(EMSCRIPTEN) +#if defined(__GNUC__) && !defined(__EMSCRIPTEN__) #define JANET_USE_COMPUTED_GOTOS #endif