Skip to content

Commit

Permalink
Recent versions of Android support EPOLLEXCLUSIVE
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Oct 16, 2021
1 parent da49e4f commit 6ca67ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ targets = [
]

[dependencies]
libc = { version = "0.2.102", features = [ "extra_traits" ] }
libc = { version = "0.2.104", features = [ "extra_traits" ] }
bitflags = "1.3.1"
cfg-if = "1.0"

Expand Down
1 change: 0 additions & 1 deletion src/sys/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ libc_bitflags!(
EPOLLERR;
EPOLLHUP;
EPOLLRDHUP;
#[cfg(target_os = "linux")] // Added in 4.5; not in Android.
EPOLLEXCLUSIVE;
#[cfg(not(target_arch = "mips"))]
EPOLLWAKEUP;
Expand Down

0 comments on commit 6ca67ae

Please sign in to comment.