summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/freebsd.txt2
2 files changed, 5 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index dc6a55ca21..0e32f188ce 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2291,6 +2291,9 @@ fn test_freebsd(target: &str) {
true
}
+ // Those were introduced in FreeBSD 12.
+ "flopen" | "flopenat" if Some(12) > freebsd_ver => true,
+
_ => false,
}
});
diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt
index 11dc252e95..235746bdf5 100644
--- a/libc-test/semver/freebsd.txt
+++ b/libc-test/semver/freebsd.txt
@@ -1484,6 +1484,8 @@ ffsl
ffsll
filestat
filestat_list
+flopen
+flopenat
fls
flsl
flsll