[vlc-commits] [Git][videolan/vlc][master] vlc_fixups: only define TIME_UTC if it's not defined

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Apr 12 18:54:43 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3502c02a by Steve Lhomme at 2024-04-12T18:35:52+00:00
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.

- - - - -


1 changed file:

- include/vlc_fixups.h


Changes:

=====================================
include/vlc_fixups.h
=====================================
@@ -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



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3502c02a1db8c44e5f6ac3a659d9176cc10197d2

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3502c02a1db8c44e5f6ac3a659d9176cc10197d2
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list