mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Fix timefn on android
This commit is contained in:
parent
3a9a079ed1
commit
768adc0774
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ extern "C" {
|
|||
#define UTIL_TIME_INITIALIZER 0
|
||||
|
||||
#elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \
|
||||
&& defined(TIME_UTC) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */
|
||||
&& defined(TIME_UTC) && !defined(__ANDROID__) /* C11 requires timespec_get, but FreeBSD 11 lacks it, while still claiming C11 compliance */
|
||||
|
||||
typedef struct timespec UTIL_time_t;
|
||||
#define UTIL_TIME_INITIALIZER { 0, 0 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue