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

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Feb 16 08:24:57 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
4bc5b913 by Steve Lhomme at 2026-02-13T08:51:57+01: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.

(cherry picked from commit 3502c02a1db8c44e5f6ac3a659d9176cc10197d2)

- - - - -


1 changed file:

- include/vlc_fixups.h


Changes:

=====================================
include/vlc_fixups.h
=====================================
@@ -251,7 +251,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/4bc5b9133dfd614a0ca926fce27a086fcbd2d9ae

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4bc5b9133dfd614a0ca926fce27a086fcbd2d9ae
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