Loading acinclude.m4 +4 −2 Original line number Original line Diff line number Diff line Loading @@ -2001,8 +2001,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ #endif #endif ]],[[ ]],[[ #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) dnl The monotonic clock will not be used unless the feature test macro is /* dnl defined with a value greater than zero indicating _always_ supported. The monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating _always_ supported. */ struct timespec ts; struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); (void)clock_gettime(CLOCK_MONOTONIC, &ts); #else #else Loading ares/acinclude.m4 +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1468,8 +1468,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ #endif #endif ]],[[ ]],[[ #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) dnl The monotonic clock will not be used unless the feature test macro is /* dnl defined with a value greater than zero indicating _always_ supported. The monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating _always_ supported. */ struct timespec ts; struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); (void)clock_gettime(CLOCK_MONOTONIC, &ts); #else #else Loading Loading
acinclude.m4 +4 −2 Original line number Original line Diff line number Diff line Loading @@ -2001,8 +2001,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ #endif #endif ]],[[ ]],[[ #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) dnl The monotonic clock will not be used unless the feature test macro is /* dnl defined with a value greater than zero indicating _always_ supported. The monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating _always_ supported. */ struct timespec ts; struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); (void)clock_gettime(CLOCK_MONOTONIC, &ts); #else #else Loading
ares/acinclude.m4 +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1468,8 +1468,10 @@ AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ #endif #endif ]],[[ ]],[[ #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0) dnl The monotonic clock will not be used unless the feature test macro is /* dnl defined with a value greater than zero indicating _always_ supported. The monotonic clock will not be used unless the feature test macro is defined with a value greater than zero indicating _always_ supported. */ struct timespec ts; struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); (void)clock_gettime(CLOCK_MONOTONIC, &ts); #else #else Loading