1 2 3 4 5 6 7
#include "time32.h" #include <time.h> struct tm *__localtime32_r(time32_t *t, struct tm *tm) { return localtime_r(&(time_t){*t}, tm); }