Fix build with ancient GCC (4.8) (#2553)

Fixes: https://github.com/bytecodealliance/wasm-micro-runtime/issues/2552
This commit is contained in:
YAMAMOTO Takashi 2023-09-15 17:24:12 +09:00 committed by GitHub
parent f697244f33
commit 9c34fc3514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,7 +497,10 @@ dump_pgo_prof_data(wasm_module_inst_t module_inst, const char *path)
struct timeout_arg {
uint32 timeout_ms;
wasm_module_inst_t inst;
_Atomic bool cancel;
#if defined(BH_HAS_STD_ATOMIC)
_Atomic
#endif
bool cancel;
};
void *