Skip to content

Commit d76448f

Browse files
committed
Remove adjtime for Android
1 parent 7c37f9a commit d76448f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,8 @@ extern "C" {
13921392

13931393
}
13941394
cfg_if! {
1395-
if #[cfg(not(target_os = "emscripten"))] {
1395+
if #[cfg(not(any(target_os = "emscripten",
1396+
target_os = "android")))] {
13961397
extern "C" {
13971398
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
13981399
}

0 commit comments

Comments
 (0)