From ce85fcc06909534afc5c51634be57633ff61c8c1 Mon Sep 17 00:00:00 2001 From: ljy9810 Date: Fri, 30 May 2025 11:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=82=E9=85=8D=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ljy9810 --- src/fcntl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcntl.rs b/src/fcntl.rs index e227e7c..7556aa1 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -104,7 +104,7 @@ libc_bitflags!( #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", - all(target_os = "linux", not(target_env = "musl")), + all(target_os = "linux", not(any(target_env = "musl", target_env = "ohos"))), target_os = "macos", target_os = "netbsd", target_os = "openbsd", -- Gitee