diff options
Diffstat (limited to 'src/tools/wasm2c-wrapper.h')
-rw-r--r-- | src/tools/wasm2c-wrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm2c-wrapper.h b/src/tools/wasm2c-wrapper.h index fb0658ef0..55eed0c35 100644 --- a/src/tools/wasm2c-wrapper.h +++ b/src/tools/wasm2c-wrapper.h @@ -89,7 +89,7 @@ int main(int argc, char** argv) { (*Z_hangLimitInitializerZ_vv)(); // Prepare to call the export, so we can catch traps. - if (setjmp(g_jmp_buf) != 0) { + if (WASM_RT_SETJMP(g_jmp_buf) != 0) { puts("exception!"); } else { // Call the proper export. |