fix: update preprocessor directive for WASM_INSTRUCTION_METERING check

This commit is contained in:
Alix ANNERAUD 2025-03-02 22:03:49 +01:00
parent a7d90ebf59
commit ad6ba3d7cf

View File

@ -2285,7 +2285,7 @@ wasm_runtime_access_exce_check_guard_page()
}
#endif
#ifdef WASM_INSTRUCTION_METERING
#if WASM_INSTRUCTION_METERING != 0
void
wasm_runtime_set_instruction_count_limit(WASMExecEnv *exec_env,
int instructions_to_execute)