From f292cc974e91d8ab02f6cabd86af963aec2bd702 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 23 Jan 2021 09:50:43 -0800 Subject: Fixed bug 5467 - SDL sys timer Mac OS update proposal David Carlier Change of api from 2016 which reduce code complexity a bit. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 662658b3a..1b2e74c5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -873,6 +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) endif() check_struct_has_member("struct sigaction" "sa_sigaction" "signal.h" HAVE_SA_SIGACTION) -- cgit v1.2.1