Skip to content
Unverified Commit a26918cf authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Zack Weinberg
Browse files

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: default avatarAlistair Francis <alistair23@gmail.com>
Reviewed-by: default avatarJoseph Myers <joseph@codesourcery.com>
Reviewed-by: default avatarZack Weinberg <zackw@panix.com>
parent 7b5af2d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment