From d531f33ba2210ef11d0849bc73654e03affd0cfa Mon Sep 17 00:00:00 2001 From: Dmitri Tikhonov Date: Mon, 30 Oct 2017 08:12:41 -0400 Subject: timeval: use mach time on MacOS If clock_gettime() is not supported, use mach_absolute_time() on MacOS. closes #2033 --- lib/curl_config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/curl_config.h.cmake') diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index c80484f65..e4d14c784 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -1000,3 +1000,6 @@ /* the signed version of size_t */ #cmakedefine ssize_t ${ssize_t} + +/* Define to 1 if you have the mach_absolute_time function. */ +#cmakedefine HAVE_MACH_ABSOLUTE_TIME 1 -- cgit v1.2.3