Appease unused warning on min_uint64 (#2277)

This commit is contained in:
YAMAMOTO Takashi 2023-06-09 09:40:21 +09:00 committed by GitHub
parent ce6d1fd8fe
commit bd96696236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,11 +56,13 @@ typedef struct WASIContext *wasi_ctx_t;
wasi_ctx_t
wasm_runtime_get_wasi_ctx(wasm_module_inst_t module_inst);
#if WASM_ENABLE_THREAD_MGR != 0
static inline uint64_t
min_uint64(uint64_t a, uint64_t b)
{
return a > b ? b : a;
}
#endif
static inline uint32_t
min_uint32(uint32_t a, uint32_t b)