diff options
author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-02-27 09:54:15 -0600 |
---|---|---|
committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-02-27 09:54:46 -0600 |
commit | 1a2ee3da3026a14d42498f5ca4e4b2c1a75bc81d (patch) | |
tree | 018069faab052b7444edac1a6d7e0303e641a102 /src | |
parent | 6123083a4702002e1958229735a4fd70cb326257 (diff) | |
download | nix-1a2ee3da3026a14d42498f5ca4e4b2c1a75bc81d.zip |
Define _POSIX_VDISABLE on Android to fix doc test
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/termios.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 92204a05..8870f6be 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -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", |