Skip to content

Commit

Permalink
add poll module in Android
Browse files Browse the repository at this point in the history
  • Loading branch information
ndusart committed Jul 12, 2017
1 parent 17f87d4 commit 70229f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub mod mqueue;

pub mod pty;

#[cfg(any(target_os = "linux", target_os = "macos"))]
#[cfg(any(target_os = "linux", target_os = "android", target_os = "macos"))]
pub mod poll;

pub mod net;
Expand Down Expand Up @@ -96,7 +96,7 @@ pub enum Error {
/// The operation involved a conversion to Rust's native String type, which failed because the
/// string did not contain all valid UTF-8.
InvalidUtf8,
/// The operation is not supported by Nix, in this instance either use the libc bindings or
/// The operation is not supported by Nix, in this instance either use the libc bindings or
/// consult the module documentation to see if there is a more appropriate interface available.
UnsupportedOperation,
}
Expand Down

0 comments on commit 70229f5

Please sign in to comment.