Skip to content

Commit

Permalink
prov/hook: Fix the preprocessor
Browse files Browse the repository at this point in the history
ifdef should be if here, as HAVE_HOOK_HMEM_DL is defined
anyway.

Signed-off-by: Shi Jin <[email protected]>
  • Loading branch information
shijin-aws committed Nov 2, 2024
1 parent c0225bd commit b5ebb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/hook/hook_hmem/src/hook_hmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ static int hook_hmem_domain(struct fid_fabric *fabric, struct fi_info *info,

HOOK_HMEM_INI
{
#ifdef HAVE_HOOK_HMEM_DL
#if HAVE_HOOK_HMEM_DL
ofi_hmem_init();
#endif
hook_hmem_fabric_ops = hook_fabric_ops;
Expand Down

0 comments on commit b5ebb82

Please sign in to comment.