19 #ifndef AVUTIL_TIME_INTERNAL_H 20 #define AVUTIL_TIME_INTERNAL_H 25 #if !HAVE_GMTIME_R && !defined(gmtime_r) 26 static inline struct tm *
ff_gmtime_r(
const time_t* clock,
struct tm *result)
28 struct tm *ptr = gmtime(clock);
34 #define gmtime_r ff_gmtime_r 37 #if !HAVE_LOCALTIME_R && !defined(localtime_r) 38 static inline struct tm *
ff_localtime_r(
const time_t* clock,
struct tm *result)
40 struct tm *ptr = localtime(clock);
46 #define localtime_r ff_localtime_r
static struct tm * ff_gmtime_r(const time_t *clock, struct tm *result)
static struct tm * ff_localtime_r(const time_t *clock, struct tm *result)