summaryrefslogtreecommitdiff
path: root/src/sys/termios.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-27 09:54:15 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-27 09:54:46 -0600
commit1a2ee3da3026a14d42498f5ca4e4b2c1a75bc81d (patch)
tree018069faab052b7444edac1a6d7e0303e641a102 /src/sys/termios.rs
parent6123083a4702002e1958229735a4fd70cb326257 (diff)
downloadnix-1a2ee3da3026a14d42498f5ca4e4b2c1a75bc81d.zip
Define _POSIX_VDISABLE on Android to fix doc test
Diffstat (limited to 'src/sys/termios.rs')
-rw-r--r--src/sys/termios.rs3
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",