Skip to content

Commit 1a2ee3d

Browse files
committed
Define _POSIX_VDISABLE on Android to fix doc test
1 parent 6123083 commit 1a2ee3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sys/termios.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ impl SpecialCharacterIndices {
497497
}
498498

499499
pub use libc::NCCS;
500-
#[cfg(any(target_os = "dragonfly",
500+
#[cfg(any(target_os = "android",
501+
target_os = "dragonfly",
501502
target_os = "freebsd",
502503
target_os = "linux",
503504
target_os = "macos",

0 commit comments

Comments
 (0)