summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Hamilton <jessica.l.hamilton@gmail.com>2017-09-26 06:00:45 +0000
committerJessica Hamilton <jessica.l.hamilton@gmail.com>2017-09-26 06:00:45 +0000
commit086d575925d663f0cf08d1b0ffdebc2589d3a435 (patch)
treea33c6b47429a74850333797578d3eca459ed10ed
parentf816434f9b12016c4b83477f3d548de27cbabd50 (diff)
downloadrust-libc-086d575925d663f0cf08d1b0ffdebc2589d3a435.tar.gz
Revert "POLL*/RTLD_LAZY: definitions differ on Haiku."
This reverts commit f816434f9b12016c4b83477f3d548de27cbabd50.
-rw-r--r--src/unix/mod.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index ff341d3cf3..f60985c4b2 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -163,22 +163,15 @@ 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;