Skip to content

Commit

Permalink
Cast handle to void in case we are building on windows without XDP_MI…
Browse files Browse the repository at this point in the history
…NIMAL_BUILD

Signed-off-by: Nishant Mysore <[email protected]>
  • Loading branch information
nishraptor committed Sep 21, 2023
1 parent 0040cae commit 80c047d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime_src/core/common/xdp/profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ register_callbacks(void* handle)
#ifdef XDP_MINIMAL_BUILD
update_device_cb = reinterpret_cast<ftype>(xrt_core::dlsym(handle, "updateAIECtrDevice"));
end_poll_cb = reinterpret_cast<ftype>(xrt_core::dlsym(handle, "endAIECtrPoll"));
#else
(void)handle;
#endif


}

void
Expand Down

0 comments on commit 80c047d

Please sign in to comment.