mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 14:01:20 +00:00
5d8aa97da2
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>
17 lines
259 B
C
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 */
|