Skip to content

Commit 7c34eb9

Browse files
committed
fixup
1 parent eb74157 commit 7c34eb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libc-test/test/cmsg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
extern crate libc;
55

6-
#[cfg(unix)]
6+
#[cfg(all(unix, not(target_os = "android")))]
77
mod t {
88

99
use libc::{self, c_uchar, c_uint, c_void, cmsghdr, msghdr};

libc-test/test/linux_fcntl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
extern crate libc;
44
use libc::*;
55

6-
#[cfg(any(target_os = "linux", target_os = "android"))]
6+
#[cfg(target_os = "linux")]
77
include!(concat!(env!("OUT_DIR"), "/linux_fcntl.rs"));
88

9-
#[cfg(not(any(target_os = "linux", target_os = "android")))]
9+
#[cfg(not(target_os = "linux"))]
1010
fn main() {}

0 commit comments

Comments
 (0)