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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to