File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2425,7 +2425,11 @@ fn test_freebsd(target: &str) {
24252425 "AT_USRSTACKBASE" | "AT_USRSTACKLIM" if Some ( 13 ) > freebsd_ver => true ,
24262426
24272427 // Added in FreeBSD 14
2428- "TFD_CLOEXEC" | "TFD_NONBLOCK" if Some ( 14 ) > freebsd_ver => true ,
2428+ "TFD_CLOEXEC" | "TFD_NONBLOCK" | "TFD_TIMER_ABSTIME" | "TFD_TIMER_CANCEL_ON_SET"
2429+ if Some ( 14 ) > freebsd_ver =>
2430+ {
2431+ true
2432+ }
24292433
24302434 _ => false ,
24312435 }
Original file line number Diff line number Diff line change @@ -4732,6 +4732,8 @@ pub const RB_MULTIPLE: ::c_int = 0x20000000;
47324732
47334733pub const TFD_NONBLOCK : :: c_int = :: O_NONBLOCK ;
47344734pub const TFD_CLOEXEC : :: c_int = O_CLOEXEC ;
4735+ pub const TFD_TIMER_ABSTIME : :: c_int = 0x01 ;
4736+ pub const TFD_TIMER_CANCEL_ON_SET : :: c_int = 0x02 ;
47354737
47364738cfg_if ! {
47374739 if #[ cfg( libc_const_extern_fn) ] {
You can’t perform that action at this time.
0 commit comments