not define TIMER_ABSTIME
on Apple
This commit is contained in:
parent
92d502628c
commit
7d65de6b61
@ -1017,6 +1017,8 @@ pub const SF_IMMUTABLE: ::c_ulong = 0x00020000;
|
||||
pub const SF_APPEND: ::c_ulong = 0x00040000;
|
||||
pub const SF_NOUNLINK: ::c_ulong = 0x00100000;
|
||||
|
||||
pub const TIMER_ABSTIME: ::c_int = 1;
|
||||
|
||||
f! {
|
||||
pub fn WIFCONTINUED(status: ::c_int) -> bool {
|
||||
status == 0x13
|
||||
|
@ -332,8 +332,6 @@ pub const POLLWRNORM: ::c_short = 0x004;
|
||||
pub const POLLRDBAND: ::c_short = 0x080;
|
||||
pub const POLLWRBAND: ::c_short = 0x100;
|
||||
|
||||
pub const TIMER_ABSTIME: ::c_int = 1;
|
||||
|
||||
f! {
|
||||
pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr {
|
||||
if (*mhdr).msg_controllen as usize >= mem::size_of::<cmsghdr>() {
|
||||
|
@ -589,6 +589,8 @@ pub const SF_ARCHIVED: ::c_ulong = 0x00010000;
|
||||
pub const SF_IMMUTABLE: ::c_ulong = 0x00020000;
|
||||
pub const SF_APPEND: ::c_ulong = 0x00040000;
|
||||
|
||||
pub const TIMER_ABSTIME: ::c_int = 1;
|
||||
|
||||
f! {
|
||||
pub fn WSTOPSIG(status: ::c_int) -> ::c_int {
|
||||
status >> 8
|
||||
|
Loading…
x
Reference in New Issue
Block a user