Skip to content

Commit

Permalink
Allow Android to use timerfd
Browse files Browse the repository at this point in the history
Co-authored-by: zachoverflow <[email protected]>
  • Loading branch information
rtzoeller and zachoverflow committed Aug 31, 2021
1 parent 39c6366 commit 2a31ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ pub mod wait;
#[allow(missing_docs)]
pub mod inotify;

#[cfg(target_os = "linux")]
#[cfg(any(target_os = "android", target_os = "linux"))]
#[allow(missing_docs)]
pub mod timerfd;
2 changes: 1 addition & 1 deletion test/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ mod test_pthread;
target_os = "netbsd",
target_os = "openbsd"))]
mod test_ptrace;
#[cfg(target_os = "linux")]
#[cfg(any(target_os = "android", target_os = "linux"))]
mod test_timerfd;

0 comments on commit 2a31ac1

Please sign in to comment.