Skip to content
Permalink
Browse files

CMakeLists.txt: fix check_symbol_exists() for clock_gettime_nsec_np

  • Loading branch information
sezero committed Feb 10, 2021
1 parent b852590 commit d327bbfbfdbe4495dc5625bef2b8dd0c90330f8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -873,7 +873,7 @@ if(LIBC)
else()
set(HAVE_ALLOCA_H 1)
set(HAVE_ALLOCA 1)
check_symbol_exists(clock_gettime_nsec_np HAVE_CLOCK_GETTIME_NSEC_NP)
check_symbol_exists(clock_gettime_nsec_np "time.h" HAVE_CLOCK_GETTIME_NSEC_NP)
endif()

check_struct_has_member("struct sigaction" "sa_sigaction" "signal.h" HAVE_SA_SIGACTION)

0 comments on commit d327bbf

Please sign in to comment.