mirror of https://code.videolan.org/videolan/vlc
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:
parent
012381510b
commit
3502c02a1d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue