diff --git a/core/iwasm/interpreter/wasm_loader.h b/core/iwasm/interpreter/wasm_loader.h index 09aa2117a..ff6b535b5 100644 --- a/core/iwasm/interpreter/wasm_loader.h +++ b/core/iwasm/interpreter/wasm_loader.h @@ -73,8 +73,10 @@ wasm_loader_find_block_addr(WASMExecEnv *exec_env, BlockAddr *block_addr_cache, uint8 block_type, uint8 **p_else_addr, uint8 **p_end_addr); +#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0 void wasm_loader_destroy_custom_sections(WASMCustomSection *section_list); +#endif #ifdef __cplusplus }