Skip to content

Commit

Permalink
Fix the build on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Feb 24, 2018
1 parent 5334de5 commit ab25943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactor/mod.rs
Expand Up @@ -584,7 +584,7 @@ mod platform {

#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]
pub fn all() -> Ready {
hup() | UnixReady::aio().into()
hup() | UnixReady::aio()
}

#[cfg(not(any(target_os = "dragonfly", target_os = "freebsd")))]
Expand All @@ -602,7 +602,7 @@ mod platform {

#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]
fn is_aio(ready: &Ready) -> bool {
ready.is_aio()
UnixReady::from(*ready).is_aio()
}

#[cfg(not(any(target_os = "dragonfly", target_os = "freebsd")))]
Expand Down

0 comments on commit ab25943

Please sign in to comment.