mirror of
https://github.com/facebook/zstd.git
synced 2025-10-06 00:04:13 -04:00
no more need for CLOCK_MONOTONIC
This commit is contained in:
parent
36d2dfd846
commit
3d346579d8
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user