Skip to content

Commit 6290d3d

Browse files
committed
Ignore P_IDLEPROC before FreeBSD 15+
1 parent 3386747 commit 6290d3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2646,6 +2646,9 @@ fn test_freebsd(target: &str) {
26462646
// Unaccessible in FreeBSD 15
26472647
"TDI_SWAPPED" | "P_SWAPPINGOUT" | "P_SWAPPINGIN" | "P_UNUSED3" => true,
26482648

2649+
// Only exists in FreeBSD 15+
2650+
"P_IDLEPROC" if freebsd_ver < Some(15) => true,
2651+
26492652
// Removed in FreeBSD 14 (git a6b55ee6be1)
26502653
"IFF_KNOWSEPOCH" => true,
26512654

0 commit comments

Comments
 (0)