aboutsummaryrefslogtreecommitdiff
path: root/CMake/CurlTests.c
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/CurlTests.c')
-rw-r--r--CMake/CurlTests.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c
index ab244ac39..9388c835b 100644
--- a/CMake/CurlTests.c
+++ b/CMake/CurlTests.c
@@ -549,3 +549,19 @@ main() {
return 0;
}
#endif
+#ifdef HAVE_CLOCK_GETTIME_MONOTONIC
+#include <time.h>
+int
+main() {
+ struct timespec ts = {0, 0};
+ clock_gettime(CLOCK_MONOTONIC, &ts);
+ return 0;
+}
+#endif
+#ifdef HAVE_BUILTIN_AVAILABLE
+int
+main() {
+ if(__builtin_available(macOS 10.12, *)) {}
+ return 0;
+}
+#endif