Skip to content

Commit 92d5026

Browse files
committed
define TIMER_ABSTIME on BSD
1 parent 31e8b75 commit 92d5026

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ pub const POLLWRNORM: ::c_short = 0x004;
332332
pub const POLLRDBAND: ::c_short = 0x080;
333333
pub const POLLWRBAND: ::c_short = 0x100;
334334

335+
pub const TIMER_ABSTIME: ::c_int = 1;
336+
335337
f! {
336338
pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr {
337339
if (*mhdr).msg_controllen as usize >= mem::size_of::<cmsghdr>() {

0 commit comments

Comments
 (0)