From 1a2ee3da3026a14d42498f5ca4e4b2c1a75bc81d Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Sun, 27 Feb 2022 09:54:15 -0600 Subject: [PATCH] Define _POSIX_VDISABLE on Android to fix doc test --- src/sys/termios.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 92204a0..8870f6b 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",