mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +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>
14 lines
266 B
C
14 lines
266 B
C
#include <time/sys/timeb.h>
|
|
|
|
#ifndef _ISOMAC
|
|
# if __TIMESIZE == 64
|
|
# define __timeb64 timeb
|
|
# define __ftime64 ftime
|
|
# else
|
|
# include <struct___timeb64.h>
|
|
|
|
extern int __ftime64 (struct __timeb64 *) __nonnull ((1));
|
|
libc_hidden_proto (__ftime64);
|
|
# endif
|
|
#endif
|