32 bit time_t

Eric S. Raymond esr at thyrsus.com
Thu Apr 20 16:16:29 UTC 2017


Achim Gratz <Stromeko at Nexgo.DE>:
> Quote from the document linked previously:
> 
> ==========
> The following is proposed:
> 
>     User code defines _TIME_BITS=64 to get 64-bit time support instead of
> the legacy 32-bit time.
> 
>     If glibc sees _TIME_BITS=64, then it defines __USE_TIME_BITS64 to
> indicate that time support is 64-bit rather than 32-bit.
> ==========
> 
> Configury needs to check whether it's looking at a glibc-based system that
> implements that.  I don't see any feature test macros discussed, so I guess
> you'd check the size of some suitable datatype with and without that define
> being present.

I don't think I see any reason not to just define that unconditionally.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.



More information about the devel mailing list