uucore: allow the Linux zero-copy setup on Android

This commit is contained in:
Alex Lyon 2019-05-01 17:51:59 -07:00 committed by Roy Ivy III
parent f79f0716ee
commit 76aef60d80

View file

@ -1,21 +1,21 @@
#[cfg(unix)]
pub use self::unix::*;
#[cfg(target_os = "linux")]
#[cfg(any(target_os = "linux", target_os = "android"))]
pub use self::linux::*;
#[cfg(windows)]
pub use self::windows::*;
// Add any operating systems we support here
#[cfg(not(any(target_os = "linux")))]
#[cfg(not(any(target_os = "linux", target_os = "android")))]
pub use self::default::*;
#[cfg(unix)]
mod unix;
#[cfg(target_os = "linux")]
#[cfg(any(target_os = "linux", target_os = "android"))]
mod linux;
#[cfg(windows)]
mod windows;
// Add any operating systems we support here
#[cfg(not(any(target_os = "linux")))]
#[cfg(not(any(target_os = "linux", target_os = "android")))]
mod default;