summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-01-24 15:53:19 -0800
committerDan Gohman <dev@sunfishcode.online>2022-01-24 15:54:02 -0800
commit338ac98a849d94f735e726bc4ca655925b4bce52 (patch)
treeaf729474d57d32fb705cda59ea785cf28d06fb12
parent4875c52f56ade14fe84010488ebebb793271c613 (diff)
downloadrust-libc-338ac98a849d94f735e726bc4ca655925b4bce52.tar.gz
Give android the same special case for `FUSE_SUPER_MAGIC` that linux has.
-rw-r--r--libc-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 8ceae3d99d..4dcd5a939a 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1679,6 +1679,9 @@ fn test_android(target: &str) {
"IBSHIFT" => true,
"TCGETS2" | "TCSETS2" | "TCSETSW2" | "TCSETSF2" => true,
+ // is a private value for kernel usage normally
+ "FUSE_SUPER_MAGIC" => true,
+
_ => false,
}
});