mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
CMakeLists.txt: fix check_symbol_exists() for clock_gettime_nsec_np
This commit is contained in:
parent
b852590ba5
commit
d327bbfbfd
@ -873,7 +873,7 @@ if(LIBC)
|
|||||||
else()
|
else()
|
||||||
set(HAVE_ALLOCA_H 1)
|
set(HAVE_ALLOCA_H 1)
|
||||||
set(HAVE_ALLOCA 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()
|
endif()
|
||||||
|
|
||||||
check_struct_has_member("struct sigaction" "sa_sigaction" "signal.h" HAVE_SA_SIGACTION)
|
check_struct_has_member("struct sigaction" "sa_sigaction" "signal.h" HAVE_SA_SIGACTION)
|
||||||
|
Loading…
Reference in New Issue
Block a user