mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-12-04 05:47:55 +00:00
Define _POSIX_VDISABLE on Android to fix doc test
This commit is contained in:
parent
6123083a47
commit
1a2ee3da30
@ -497,7 +497,8 @@ impl SpecialCharacterIndices {
|
||||
}
|
||||
|
||||
pub use libc::NCCS;
|
||||
#[cfg(any(target_os = "dragonfly",
|
||||
#[cfg(any(target_os = "android",
|
||||
target_os = "dragonfly",
|
||||
target_os = "freebsd",
|
||||
target_os = "linux",
|
||||
target_os = "macos",
|
||||
|
Loading…
Reference in New Issue
Block a user