Skip to content

Commit

Permalink
Remove adjtime for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
guyru committed Apr 23, 2022
1 parent 7c37f9a commit d76448f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unix/mod.rs
Expand Up @@ -1392,7 +1392,8 @@ extern "C" {

}
cfg_if! {
if #[cfg(not(target_os = "emscripten"))] {
if #[cfg(not(any(target_os = "emscripten",
target_os = "android")))] {
extern "C" {
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
}
Expand Down

0 comments on commit d76448f

Please sign in to comment.