[PATCH] libc-compat.h for <bits/fcntl-linux.h>

Zack Weinberg zackw@panix.com
Mon May 9 12:54:00 GMT 2016


On Mon, May 9, 2016 at 8:52 AM, Eric Neblock <ceneblock@member.fsf.org> wrote:
> On 05/09/2016 07:47 AM, Zack Weinberg wrote:
>> Rather than this approach, why not have the glibc header include the
>> uapi header and rely on its definitions?  This might need to be
>> conditional on a sufficiently new version of the uapi header being
>> available, but it is more future-proof.
>
> My only concern with that would be if someone is compiling for BSD,
> Solaris, Cygwin, or some other *nix.

In that case, sysdeps/unix/sysv/linux/bits/fcntl-linux.h will not be
used at all.

zw



More information about the Libc-alpha mailing list