Skip to content

Commit

Permalink
fix macro condition in delay_load_hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Dec 18, 2024
1 parent 87a0b75 commit 13f23eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/core/dll/delay_load_hook.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ constexpr struct {
const char* str;
const wchar_t* wstr;
} known_dlls[] = {
#if defined(ORT_DELAY_LOAD_WEBGPU_DAWN_DLL)
#if ORT_DELAY_LOAD_WEBGPU_DAWN_DLL
DEFINE_KNOWN_DLL(webgpu_dawn),
#endif
#if defined(ORT_DELAY_LOAD_DIRECTML_DLL)
#if ORT_DELAY_LOAD_DIRECTML_DLL
DEFINE_KNOWN_DLL(DirectML),
#endif
};
Expand Down

0 comments on commit 13f23eb

Please sign in to comment.