Message ID | 20200214163134.31601-4-alistair.francis@wdc.com |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/time.h b/include/time.h index ddc0ded640..34dffaf95f 100644 --- a/include/time.h +++ b/include/time.h @@ -108,6 +108,17 @@ struct __timeval64 }; #endif +#if __TIMESIZE == 64 +# define __itimerval64 itimerval +#else +/* The glibc's internal representation of the struct itimerval. */ +struct __itimerval64 +{ + struct __timeval64 it_interval; + struct __timeval64 it_value; +}; +#endif + #if __TIMESIZE == 64 # define __ctime64 ctime #else
Add a __itimerval64 which always uses a 64-bit time_t. Reviewed-by: Lukasz Majewski <lukma@denx.de> --- include/time.h | 11 +++++++++++ 1 file changed, 11 insertions(+)