diff --git a/onnxruntime/core/providers/qnn/builder/qnn_backend_manager.cc b/onnxruntime/core/providers/qnn/builder/qnn_backend_manager.cc index 363b357eb32b9..8a717c3f29ff9 100644 --- a/onnxruntime/core/providers/qnn/builder/qnn_backend_manager.cc +++ b/onnxruntime/core/providers/qnn/builder/qnn_backend_manager.cc @@ -740,7 +740,7 @@ Status QnnBackendManager::LoadCachedQnnContextFromBuffer(char* buffer, uint64_t custom_config.groupRegistration = group_info; spill_fill_config.option = QNN_CONTEXT_CONFIG_OPTION_CUSTOM; spill_fill_config.customConfig = &custom_config; - #endif +#endif QnnContext_Config_t* spill_fill_config_pointer = max_spill_fill_size > 0 ? &spill_fill_config : nullptr; LOGS(*logger_, VERBOSE) << "Max spill fill buffer size:" << max_spill_fill_size;