diff options
author | Lee Bousfield <ljbousfield@gmail.com> | 2017-05-15 09:15:53 -0600 |
---|---|---|
committer | Lee Bousfield <ljbousfield@gmail.com> | 2017-05-18 09:02:25 -0600 |
commit | 98889cf243cdd95f202ccd5cdf1caab8b242168a (patch) | |
tree | c615e4a3fabf4ce6ca3122428a77b54e84dad58e /libc-test | |
parent | 19f3be3638322e343f90c50ec8d30de9e4972940 (diff) | |
download | rust-libc-98889cf243cdd95f202ccd5cdf1caab8b242168a.tar.gz |
Add ENOATTR for Linux
Diffstat (limited to 'libc-test')
-rw-r--r-- | libc-test/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 61a0407768..8e54c82014 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -404,6 +404,10 @@ fn main() { "MADV_MERGEABLE" | "MADV_UNMERGEABLE" | "MADV_HWPOISON" | "IPV6_ADD_MEMBERSHIP" | "IPV6_DROP_MEMBERSHIP" | "IPV6_MULTICAST_LOOP" | "IPV6_V6ONLY" | "MAP_STACK" | "RTLD_DEEPBIND" | "SOL_IPV6" | "SOL_ICMPV6" if uclibc => true, + // Defined by libattr not libc on linux (hard to test). + // See constant definition for more details. + "ENOATTR" if linux => true, + _ => false, } }); |