Remove adjtime for emscripten
@@ -1390,8 +1390,14 @@ extern "C" {
pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int;
+}
+cfg_if! {
+ if #[cfg(not(target_os = "emscripten"))] {
+ extern "C" {
pub fn adjtime(delta: *const timeval, olddelta: *mut timeval) -> ::c_int;
}
+ }
+}
cfg_if! {
if #[cfg(not(target_env = "uclibc"))] {
