From: Yann Collet Date: Wed, 10 Apr 2019 21:16:39 +0000 (-0700) Subject: no more need for CLOCK_MONOTONIC X-Git-Tag: v1.4.0^2~6^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d346579d8f622c65a2b0523c64563759403c4e3;p=thirdparty%2Fzstd.git no more need for CLOCK_MONOTONIC --- diff --git a/programs/timefn.h b/programs/timefn.h index 290da884e..6e5d456d7 100644 --- a/programs/timefn.h +++ b/programs/timefn.h @@ -56,8 +56,7 @@ extern "C" { typedef PTime UTIL_time_t; #define UTIL_TIME_INITIALIZER 0 -#elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \ - && defined (CLOCK_MONOTONIC) +#elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) typedef struct timespec UTIL_time_t; /* C11 defines struct timespes within time.h */ #define UTIL_TIME_INITIALIZER { 0, 0 }