We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6b5ca commit 26a47edCopy full SHA for 26a47ed
src/unix/linux_like/linux/mod.rs
@@ -6723,7 +6723,7 @@ extern "C" {
6723
//
6724
// * musl has 64-bit versions only so aliases the LFS64 symbols to the standard ones
6725
cfg_if! {
6726
- if #[cfg(not(target_env = "musl"))] {
+ if #[cfg(not(any(target_env = "musl", target_os = "ohos")))] {
6727
extern "C" {
6728
pub fn fallocate64(fd: c_int, mode: c_int, offset: off64_t, len: off64_t) -> c_int;
6729
pub fn fgetpos64(stream: *mut crate::FILE, ptr: *mut fpos64_t) -> c_int;
0 commit comments