lavu: Provide fallbacks for gmtime_r and localtime_r

Multimedia / Libav - Martin Storsjö [martin.st] - 25 October 2014 16:14 UTC

This allows writing most code as if they always are is available.

These are ok to use from other libraries even though it's not a public header, since they only provide an inline declaration, and doesn't add an actual dependency on lavu internals. (This can be considered more a build system compatibility fallback than a libavutil feature.)

3f8f1c6 lavu: Provide fallbacks for gmtime_r and localtime_r
configure | 2 ++
libavutil/time_internal.h | 47 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)

Upstream: git.libav.org


  • Share