summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-07-27 14:59:32 -0600
committerAlan Somers <asomers@gmail.com>2020-07-27 14:59:32 -0600
commit554ea4b8bd5b927535dcd0a724d06410231589ad (patch)
tree2290299da6d5e80bea02908c812bfea015fc72cc /libc-test
parentf1fdb9622c91273529826cf194ef68360c66f472 (diff)
downloadrust-libc-554ea4b8bd5b927535dcd0a724d06410231589ad.tar.gz
Deprecate CTL_P1003_1B_MAXID
It's been removed in FreeBSD 13 (svn r363622), and never had any legitimate use outside of the base system anyway.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index ed1b176bbf..04cc19c6c7 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1824,6 +1824,10 @@ fn test_freebsd(target: &str) {
// base system anyway.
"CTL_MAXID" | "KERN_MAXID" | "HW_MAXID" | "USER_MAXID" => true,
+ // This constant was removed in FreeBSD 13 (svn r363622), and never
+ // had any legitimate use outside of the base system anyway.
+ "CTL_P1003_1B_MAXID" => true,
+
// This was renamed in FreeBSD 12.2 and 13 (r352486).
"CTL_UNSPEC" | "CTL_SYSCTL" => true,