diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-08-28 14:27:03 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2019-09-04 16:11:27 -0400 |
commit | a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96 (patch) | |
tree | 29ebb5af2e1bbac8c0c21d220bb0a713db1e7921 /nptl/tst-barrier2.c | |
parent | 7b5af2d8f2a2b858319a792678b15a0db08764c7 (diff) | |
download | glibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.zip glibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.tar.gz glibc-a26918cfda4bc4b9dad8aae1496e3ef7cbb63d96.tar.bz2 |
y2038: Introduce the __ASSUME_TIME64_SYSCALLS define
Add a macro to linux/kernel-features.h, __ASSUME_TIME64_SYSCALLS, to
indicate whether the kernel can be assumed to provide a set of system
calls that process 64-bit time_t.
__ASSUME_TIME64_SYSCALLS does not indicate whether time_t is actually
64 bits (that's __TIMEBITS) and also does not indicate whether the
64-bit time_t system calls have "time64" suffixes on their names.
Code that uses __ASSUME_TIME64_SYSCALLS will be added in subsequent
patches.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_TIME64_SYSCALLS): New macro.
Reviewed-by: Alistair Francis <alistair23@gmail.com>
Reviewed-by: Joseph Myers <joseph@codesourcery.com>
Reviewed-by: Zack Weinberg <zackw@panix.com>
Diffstat (limited to 'nptl/tst-barrier2.c')
0 files changed, 0 insertions, 0 deletions