summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-10-14 18:02:43 +0100
committerDavid Carlier <devnexen@gmail.com>2021-10-14 18:02:43 +0100
commitd63e6be74a5e81d3f6bdbc5a84b8930b69ed53c8 (patch)
tree903f3c9ef502b5a06893996f934b58d6f7c95f11
parente4da444c3f3d2d14609de28d69b55e5d1cc21a21 (diff)
downloadrust-libc-d63e6be74a5e81d3f6bdbc5a84b8930b69ed53c8.tar.gz
openbsd omit few consts check as openbsd supports release N and N-1 for a while
-rw-r--r--libc-test/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 9377439e0f..d97285ca45 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -481,6 +481,8 @@ fn test_openbsd(target: &str) {
match name {
// Removed in OpenBSD 6.0
"KERN_USERMOUNT" | "KERN_ARND" => true,
+ // Good chance it's going to be wrong depending on the host release
+ "KERN_MAXID" | "NET_RT_MAXID" => true,
_ => false,
}
});