summaryrefslogtreecommitdiff
path: root/nis/nis_subr.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2018-06-13 18:36:02 +0200
committerAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>2018-06-20 08:24:43 +0200
commit8caea0647f2ccf4e4028283247e6f1fb37784dc6 (patch)
tree0cccc33365f53ca8515df72a6c6b8a942054d1a6 /nis/nis_subr.c
parentf2857da7cdb65bfad75ee30981f5b2fde5bbb1dc (diff)
downloadglibc-8caea0647f2ccf4e4028283247e6f1fb37784dc6.tar.gz
Y2038: Add 64-bit time for all architectures
* Add macro __TIMESIZE equal to the bit size of time_t. It equals the architecture __WORDSIZE except for x32 where it equals 64. * Add type __time64_t which is always 64-bit. On 64-bit architectures and on x32, it is #defined as time_t. On other architectures, it has its own type. * Replace all occurrences of internal_time_t with __time64_t. The __time64_t type is public so that the public time_t type can be a typedef or #define of __time64_t when we switch the public API to 64-bit time.
Diffstat (limited to 'nis/nis_subr.c')
0 files changed, 0 insertions, 0 deletions