This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/09/2016 03:06 PM, Andreas Schwab wrote:
Zack Weinberg <zackw@panix.com> writes: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.The kernel header cannot be used due to lack of name space sanity.
Exactly. Without feature selection macros such as _GNU_SOURCE, the set of macros which can be defined by <fcntl.h> is very limited.
Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |