https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> +// Since glibc 2.34 using -D_TIME_BITS=64 will enable 64-bit time_t
> +// for "legacy ABIs", i.e. ones that historically used 32-bit time_t.
> +// This internal glibc macro will be defined iff new 64-bit time_t is in
> use.

This is correct for current glibc releases, but in glibc master
__USE_TIME_BITS64 is defined unconditionally to 0 or 1 and tells you the size
of time_t, not whether it switched to 64-bit counter to the legacy ABI:
https://inbox.sourceware.org/libc-alpha/20240118131801.600373-1-adhemerval.zane...@linaro.org/

Yay.

Reply via email to