[PATCH] y2038: Export struct __timespec64 (as ./bits/types/struct___timespec64.h)

Andreas Schwab schwab@suse.de
Wed Nov 11 16:53:21 GMT 2020


On Nov 11 2020, Lukasz Majewski wrote:

> @@ -25,4 +26,8 @@ struct timespec
>  #endif
>  };
>  
> +# if __TIMESIZE == 32 && defined __USE_TIME_BITS64
> +#  include <bits/types/struct___timespec64.h>
> +#  define timespec __timespec64

I don't think the implementation is allowed to define that macro.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list