diff options
author | Dan Albert <danalbert@google.com> | 2017-05-22 12:52:00 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2017-05-22 12:52:00 -0700 |
commit | cdfface662306d20cfaa4abe046eb85794201d6c (patch) | |
tree | 572aa51504a38f486cddde87d54bf2013e894b98 /libc/kernel/tools/cpp.py | |
parent | f06535035ef6e48aeacc37819ea7182416275216 (diff) |
Undef EPOLL_CLOEXEC for pre-L.
Some third-party code uses the existence of EPOLL_CLOEXEC to detect
the availability of epoll_create1. This is not correct, since having
up-to-date UAPI headers says nothing about the C library, but for the
time being we don't want to harm adoption to the unified headers.
We'll undef EPOLL_CLOEXEC if we don't have epoll_create1 for the time
being, and maybe revisit this later.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/302
Bug: https://github.com/android-ndk/ndk/issues/394
Change-Id: I8ee9ce62768fb174070ec51d114f477389befc4a
Diffstat (limited to 'libc/kernel/tools/cpp.py')
0 files changed, 0 insertions, 0 deletions