[wasm] eval_inter.h gc.c vm_core.h: include wasm/setjmp.h instead of sysroot header
This commit is contained in:
parent
a4b73f1ba8
commit
23de01c7aa
Notes:
git
2022-01-19 11:19:44 +09:00
@ -33,7 +33,11 @@ pass_passed_block_handler(rb_execution_context_t *ec)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <setjmp.h>
|
#if defined(__wasm__) && !defined(__EMSCRIPTEN__)
|
||||||
|
# include "wasm/setjmp.h"
|
||||||
|
#else
|
||||||
|
# include <setjmp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# ifdef HAVE_CRT_EXTERNS_H
|
# ifdef HAVE_CRT_EXTERNS_H
|
||||||
|
6
gc.c
6
gc.c
@ -28,7 +28,11 @@
|
|||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <setjmp.h>
|
#if defined(__wasm__) && !defined(__EMSCRIPTEN__)
|
||||||
|
# include "wasm/setjmp.h"
|
||||||
|
#else
|
||||||
|
# include <setjmp.h>
|
||||||
|
#endif
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@ -62,7 +62,11 @@
|
|||||||
#define VM_UNREACHABLE(func) UNREACHABLE
|
#define VM_UNREACHABLE(func) UNREACHABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <setjmp.h>
|
#if defined(__wasm__) && !defined(__EMSCRIPTEN__)
|
||||||
|
# include "wasm/setjmp.h"
|
||||||
|
#else
|
||||||
|
# include <setjmp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "ruby/internal/stdbool.h"
|
#include "ruby/internal/stdbool.h"
|
||||||
#include "ccan/list/list.h"
|
#include "ccan/list/list.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user