24 lines
380 B
C
Raw Normal View History

/*
* Public domain
* sys/time.h compatibility shim
*/
#ifdef _MSC_VER
#if _MSC_VER >= 1900
#include <../ucrt/time.h>
#else
#include <../include/time.h>
#endif
#else
#include_next <time.h>
#endif
2015-10-07 06:23:38 -05:00
#ifdef _WIN32
struct tm *__gmtime_r(const time_t * t, struct tm * tm);
#define gmtime_r(tp, tm) __gmtime_r(tp, tm)
#endif
2015-10-14 23:53:52 -05:00
#ifndef HAVE_TIMEGM
time_t timegm(struct tm *tm);
#endif