Fix build on FreeBSD (#218)

This commit is contained in:
Wesley Moore 2018-03-14 05:24:17 +11:00 committed by Carl Lerche
parent 96a542451d
commit 2abeff01a5

View File

@ -433,16 +433,6 @@ mod platform {
use mio::Ready;
use mio::unix::UnixReady;
#[cfg(target_os = "dragonfly")]
pub fn all() -> Ready {
hup() | UnixReady::aio()
}
#[cfg(target_os = "freebsd")]
pub fn all() -> Ready {
hup() | UnixReady::aio() | UnixReady::lio()
}
const HUP: usize = 1 << 2;
const ERROR: usize = 1 << 3;
const AIO: usize = 1 << 4;