diff --git a/src/util_libc.rs b/src/util_libc.rs index 63b060e7..a78c48da 100644 --- a/src/util_libc.rs +++ b/src/util_libc.rs @@ -141,11 +141,7 @@ impl Weak { } cfg_if! { - if #[cfg(any(target_os = "linux", target_os = "emscripten"))] { - use libc::open64 as open; - } else { - use libc::open; - } + use libc::open; } // SAFETY: path must be null terminated, FD must be manually closed.