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) {
2425
2425
"AT_USRSTACKBASE" | "AT_USRSTACKLIM" if Some ( 13 ) > freebsd_ver => true ,
2426
2426
2427
2427
// 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
+ }
2429
2433
2430
2434
_ => false ,
2431
2435
}
Original file line number Diff line number Diff line change @@ -4732,6 +4732,8 @@ pub const RB_MULTIPLE: ::c_int = 0x20000000;
4732
4732
4733
4733
pub const TFD_NONBLOCK : :: c_int = :: O_NONBLOCK ;
4734
4734
pub 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 ;
4735
4737
4736
4738
cfg_if ! {
4737
4739
if #[ cfg( libc_const_extern_fn) ] {
You can’t perform that action at this time.
0 commit comments