glibc/include/struct___timeb64.h
Adhemerval Zanella 5d8aa97da2 time: Add 64-bit time_t support for ftime
It basically calls the 64-bit __clock_gettime64 and adds the overflow
check.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2020-10-27 09:54:50 -03:00

17 lines
259 B
C

#ifndef _STRUCT_TIMEB64_H
#define _STRUCT_TIMEB64_H
#if __TIMESIZE == 64
# define __timeb64 timeb
#else
struct __timeb64
{
__time64_t time;
unsigned short int millitm;
short int timezone;
short int dstflag;
};
#endif
#endif /* _STRUCT_TIMEB64_H */