summaryrefslogtreecommitdiff
path: root/src/features.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2014-10-02 15:42:03 -0700
committerCarl Lerche <me@carllerche.com>2014-10-02 15:42:03 -0700
commit67e6410805279cb46ddf69c2ddd3454b9f847c92 (patch)
treecd8685069b3f964a4b80dc490a029c0f23389204 /src/features.rs
parent05b3bb1e77b8d5c7a0a3321801782fad5edf80c4 (diff)
downloadnix-67e6410805279cb46ddf69c2ddd3454b9f847c92.zip
Track Rust master
Diffstat (limited to 'src/features.rs')
-rw-r--r--src/features.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/features.rs b/src/features.rs
index db8bddf0..bfe3dc4a 100644
--- a/src/features.rs
+++ b/src/features.rs
@@ -7,8 +7,7 @@ mod os {
}
}
-#[cfg(target_os = "macos")]
-#[cfg(target_os = "ios")]
+#[cfg(any(target_os = "macos", target_os = "ios"))]
mod os {
pub fn atomic_cloexec() -> bool {
false