diff options
author | Felix Obenhuber <felix@obenhuber.de> | 2021-07-26 13:03:19 +0200 |
---|---|---|
committer | Felix Obenhuber <felix@obenhuber.de> | 2021-07-27 08:36:57 +0200 |
commit | 8ed34b72c8caf8aac10e5eafdaf7313b0b095905 (patch) | |
tree | 210f82edeea5579fe88e605fb5d07674a61734ce /src/sys | |
parent | 8519d9f8c8e3b1cdf211774d309f8f21cf450528 (diff) | |
download | nix-8ed34b72c8caf8aac10e5eafdaf7313b0b095905.zip |
Expose `sys::eventfd` for target_os = "android"
Androids bionic supports eventfd. Extend the conditional compilation
check to include the target_os "android".
Fixes #1480
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 43877a12..b43587b8 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -17,7 +17,7 @@ pub mod epoll; target_os = "openbsd"))] pub mod event; -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "android", target_os = "linux"))] pub mod eventfd; #[cfg(any(target_os = "android", |