vlc_fixups: only define TIME_UTC if it's not defined

On Android timespec_get() is supported on some API levels. But TIME_UTC is always defined.
This commit is contained in:
Steve Lhomme 2024-04-11 07:35:31 +02:00
parent 012381510b
commit 3502c02a1d
1 changed files with 2 additions and 0 deletions

View File

@ -333,7 +333,9 @@ time_t timegm(struct tm *);
#endif
#ifndef HAVE_TIMESPEC_GET
#ifndef TIME_UTC
#define TIME_UTC 1
#endif
struct timespec;
int timespec_get(struct timespec *, int);
#endif