Skip to content

Commit 086d575

Browse files
committed
Revert "POLL*/RTLD_LAZY: definitions differ on Haiku."
This reverts commit f816434.
1 parent f816434 commit 086d575

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/unix/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,22 +163,15 @@ pub const S_ISUID: ::c_int = 0x800;
163163
pub const S_ISGID: ::c_int = 0x400;
164164
pub const S_ISVTX: ::c_int = 0x200;
165165

166-
#[cfg(not(target_os = "haiku"))]
167166
pub const POLLIN: ::c_short = 0x1;
168-
#[cfg(not(target_os = "haiku"))]
169167
pub const POLLPRI: ::c_short = 0x2;
170-
#[cfg(not(target_os = "haiku"))]
171168
pub const POLLOUT: ::c_short = 0x4;
172-
#[cfg(not(target_os = "haiku"))]
173169
pub const POLLERR: ::c_short = 0x8;
174-
#[cfg(not(target_os = "haiku"))]
175170
pub const POLLHUP: ::c_short = 0x10;
176-
#[cfg(not(target_os = "haiku"))]
177171
pub const POLLNVAL: ::c_short = 0x20;
178172

179173
pub const IF_NAMESIZE: ::size_t = 16;
180174

181-
#[cfg(not(target_os = "haiku"))]
182175
pub const RTLD_LAZY: ::c_int = 0x1;
183176

184177
pub const LOG_EMERG: ::c_int = 0;

0 commit comments

Comments
 (0)