Skip to content

Commit f5fa416

Browse files
committed
Auto merge of #1158 - strake:TIMER_ABSTIME, r=gnzlbg
define `TIMER_ABSTIME` on BSD
2 parents 7ada017 + 7d65de6 commit f5fa416

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,8 @@ pub const SF_IMMUTABLE: ::c_ulong = 0x00020000;
10171017
pub const SF_APPEND: ::c_ulong = 0x00040000;
10181018
pub const SF_NOUNLINK: ::c_ulong = 0x00100000;
10191019

1020+
pub const TIMER_ABSTIME: ::c_int = 1;
1021+
10201022
f! {
10211023
pub fn WIFCONTINUED(status: ::c_int) -> bool {
10221024
status == 0x13

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@ pub const SF_ARCHIVED: ::c_ulong = 0x00010000;
589589
pub const SF_IMMUTABLE: ::c_ulong = 0x00020000;
590590
pub const SF_APPEND: ::c_ulong = 0x00040000;
591591

592+
pub const TIMER_ABSTIME: ::c_int = 1;
593+
592594
f! {
593595
pub fn WSTOPSIG(status: ::c_int) -> ::c_int {
594596
status >> 8

0 commit comments

Comments
 (0)