mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
no more need for CLOCK_MONOTONIC
This commit is contained in:
parent
36d2dfd846
commit
3d346579d8
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue