Branch: Tag:

2018-05-27

2018-05-27 14:29:00 by Marcus Comstedt <marcus@mc.pp.se>

Builtin: Use 64-bit version of time_t in future glibc

This functionality does not exist in mainline glibc yet, but the API
design can be found on the glibc wiki page
https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
and a draft implementation exists on a branch.

14: Inside #if undefined(_LARGEFILE_SOURCE)
     #ifndef _LARGEFILE_SOURCE   # define _FILE_OFFSET_BITS 64 + # define _TIME_BITS 64   # define _LARGEFILE_SOURCE   /* # define _LARGEFILE64_SOURCE 1 */ /* This one is for explicit 64bit. */   #endif