[RFC 0/6] y2038: Prepare glibc to be Y2038 safe for 32 bit ports
Joseph Myers
joseph@codesourcery.com
Tue Dec 8 15:25:26 GMT 2020
On Tue, 8 Dec 2020, Lukasz Majewski wrote:
> 1. Introduce new header - ./sysdeps/hurd/include/features.h
> 2. In this file:
>
> #include_next <features.h>
<features.h> is an *installed* header, and sysdeps/*/include/ is only for
*non-installed* wrappers used when building glibc itself. So this
approach can't work. (But you could e.g. have two different
bits/features-time64.h headers, one in the toplevel bits/ and one under
sysdeps, so that the appropriate one is installed, and include
<bits/features-time64.h> from <features.h>.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list