https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065
--- Comment #73 from Nicolas Boulenguez <nicolas at debian dot org> --- Just to be sure before testing, you are suggesting this in gcc/ada/s-oscons-tmpl.c? +#if __WORDSIZE == 64 \ + || (defined __SYSCALL_WORDSIZE && __SYSCALL_WORDSIZE == 64) \ + || (__TIMESIZE == 32 && !defined __USE_TIME64_REDIRECTS) #define SIZEOF_tv_nsec (sizeof (ts.tv_nsec)) +#else +// sourceware.org/glibc/wiki/Y2038ProofnessDesign +#define SIZEOF_tv_nsec (8) +#endif
