commit | bb4b0c184c57d4b5e74a9957f7245d53f386cdd0 | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Wed Feb 17 20:03:16 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 01:00:16 2021 -0800 |
tree | de8c54a755fe3550008bab1d446c5d965f149da6 | |
parent | be3366c126f89d6682a75929c1455ad0dc9cd2ca [diff] |
[GWP-ASan] Change sys/cdefs.h to features.h sys/cdefs.h is a glibc internal header which is not supposed to be included by applications. (Some libc implementations provide this file for compatibility.) Android features.h includes sys/cdefs.h, so we can include features.h instead. This change makes `ninja gwp_asan` build on musl. GitOrigin-RevId: da59c2e4dc1c7b502cc2098247b2ee38ac297e0c