Skip to content

Commit

Permalink
Fix detection of offsetof in Clang/ICX Builds (#3582)
Browse files Browse the repository at this point in the history
  • Loading branch information
jszaday committed Mar 19, 2022
1 parent 8772f9a commit ad0ffeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/detect-features-c.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ check_function_exists(mprotect CMK_HAS_MPROTECT)
check_symbol_exists(MPI_Init_thread mpi.h CMK_MPI_INIT_THREAD)
check_function_exists(mstats CMK_HAS_MSTATS)
check_function_exists(ntohl CMK_HAS_NTOHL)
check_function_exists(offsetof CMK_HAS_OFFSETOF)
check_symbol_exists(offsetof stddef.h CMK_HAS_OFFSETOF)
check_function_exists(openat HAVE_OPENAT)
check_function_exists(poll CMK_USE_POLL)
check_function_exists(popen CMK_HAS_POPEN)
Expand Down

0 comments on commit ad0ffeb

Please sign in to comment.