]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
no more need for CLOCK_MONOTONIC
authorYann Collet <cyan@fb.com>
Wed, 10 Apr 2019 21:16:39 +0000 (14:16 -0700)
committerYann Collet <cyan@fb.com>
Wed, 10 Apr 2019 21:16:39 +0000 (14:16 -0700)
programs/timefn.h

index 290da884e48120739e832cbe299a9b9eb2242ef9..6e5d456d7bb047c1af7e79975b6e2d6218a8cb42 100644 (file)
@@ -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 }