diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index beb8c72b7..8fcde110d 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -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)