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 *
gmtime_r(
const time_t* clock, 
struct tm *result)
 
   28     struct tm *ptr = gmtime(clock);
 
   36 #if !HAVE_LOCALTIME_R && !defined(localtime_r) 
   37 static inline struct tm *
localtime_r(
const time_t* clock, 
struct tm *result)
 
   39     struct tm *ptr = localtime(clock);
 
static struct tm * gmtime_r(const time_t *clock, struct tm *result)
static struct tm * localtime_r(const time_t *clock, struct tm *result)