summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-05-22 13:34:02 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-05-23 16:29:28 +0200
commit4774fc1c9fec44d49ebe763eadc87f00d3425d9d (patch)
tree8677a5ed0713bb97ef9df4264387bdbc1ca10924 /libc-test
parenteea0102308d5676919e8b3b4381eab69498d5fe5 (diff)
downloadrust-libc-4774fc1c9fec44d49ebe763eadc87f00d3425d9d.tar.gz
Deprecate ENOATTR on Linux and Android
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index af19881210..5d915e1341 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1379,6 +1379,12 @@ fn test_android(target: &str) {
// FIXME: deprecated: not available in any header
// See: https://github.com/rust-lang/libc/issues/1356
"ENOATTR" => true,
+
+ // FIXME: still necessary?
+ "SIG_DFL" | "SIG_ERR" | "SIG_IGN" => true, // sighandler_t weirdness
+ // FIXME: still necessary?
+ "SIGUNUSED" => true, // removed in glibc 2.26
+
_ => false,
}
});