Skip to content

Commit

Permalink
Remove adjtime for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
guyru committed Apr 13, 2022
1 parent 9c8aa21 commit 4f9b3d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/mod.rs
Expand Up @@ -1390,6 +1390,7 @@ extern "C" {

pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int;

#[cfg(not(target_os = "emscripten"))]
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
}

Expand Down

0 comments on commit 4f9b3d7

Please sign in to comment.