Skip to content

Commit 2aeb382

Browse files
committed
Ignore new FreeBSD constants in tests
CI still runs version 10
1 parent 6725fd6 commit 2aeb382

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc-test/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,10 @@ fn main() {
497497
"HW_MAXID" |
498498
"USER_MAXID" if freebsd => true,
499499

500+
// These constants were added in FreeBSD 11
501+
"EVFILT_PROCDESC" | "EVFILT_SENDFILE" | "EVFILT_EMPTY" |
502+
"PD_CLOEXEC" | "PD_ALLOWED_AT_FORK" if freebsd => true,
503+
500504
// These OSX constants are removed in Sierra.
501505
// https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html
502506
"KERN_KDENABLE_BG_TRACE" if apple => true,

0 commit comments

Comments
 (0)