Functionality for #[cfg(any(target_os = "android", target_os = "linux"))].
#[cfg(any(target_os = "android", target_os = "linux"))]