POLL*/RTLD_LAZY: definitions differ on Haiku.

This commit is contained in:
Jessica Hamilton 2017-09-26 04:09:54 +00:00
parent 3c91010af0
commit f816434f9b

View File

@ -163,15 +163,22 @@ pub const S_ISUID: ::c_int = 0x800;
pub const S_ISGID: ::c_int = 0x400;
pub const S_ISVTX: ::c_int = 0x200;
#[cfg(not(target_os = "haiku"))]
pub const POLLIN: ::c_short = 0x1;
#[cfg(not(target_os = "haiku"))]
pub const POLLPRI: ::c_short = 0x2;
#[cfg(not(target_os = "haiku"))]
pub const POLLOUT: ::c_short = 0x4;
#[cfg(not(target_os = "haiku"))]
pub const POLLERR: ::c_short = 0x8;
#[cfg(not(target_os = "haiku"))]
pub const POLLHUP: ::c_short = 0x10;
#[cfg(not(target_os = "haiku"))]
pub const POLLNVAL: ::c_short = 0x20;
pub const IF_NAMESIZE: ::size_t = 16;
#[cfg(not(target_os = "haiku"))]
pub const RTLD_LAZY: ::c_int = 0x1;
pub const LOG_EMERG: ::c_int = 0;