summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2021-01-23 09:50:43 -0800
committerSam Lantinga <slouken@libsdl.org>2021-01-23 09:50:43 -0800
commitf292cc974e91d8ab02f6cabd86af963aec2bd702 (patch)
tree5e5e3e3ed65c8bddf5ef7d8250120c41b28bee06 /include
parent36a3ea9411157a369d0cffa1c8fadb1180419c07 (diff)
downloadsdl-f292cc974e91d8ab02f6cabd86af963aec2bd702.tar.gz
Fixed bug 5467 - SDL sys timer Mac OS update proposal
David Carlier Change of api from 2016 which reduce code complexity a bit.
Diffstat (limited to 'include')
-rw-r--r--include/SDL_config.h.cmake1
-rw-r--r--include/SDL_config.h.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index 977050db3..ede9bbabc 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -191,6 +191,7 @@
#cmakedefine HAVE_SYSCONF 1
#cmakedefine HAVE_SYSCTLBYNAME 1
#cmakedefine HAVE_CLOCK_GETTIME 1
+#cmakedefine HAVE_CLOCK_GETTIME_NSEC_NP 1
#cmakedefine HAVE_GETPAGESIZE 1
#cmakedefine HAVE_MPROTECT 1
#cmakedefine HAVE_ICONV 1
diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
index eb2b4172c..9480eb43f 100644
--- a/include/SDL_config.h.in
+++ b/include/SDL_config.h.in
@@ -196,6 +196,7 @@
#undef HAVE_SYSCONF
#undef HAVE_SYSCTLBYNAME
#undef HAVE_CLOCK_GETTIME
+#undef HAVE_CLOCK_GETTIME_NSEC_NP
#undef HAVE_GETPAGESIZE
#undef HAVE_MPROTECT
#undef HAVE_ICONV