about summary refs log tree commit diff
path: root/src/libstd/rand
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/rand')
-rw-r--r--src/libstd/rand/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 120ace1c36a..c5b7154ffdb 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -13,7 +13,7 @@
 
 pub use self::imp::OsRng;
 
-#[cfg(unix, not(target_os = "ios"))]
+#[cfg(all(unix, not(target_os = "ios")))]
 mod imp {
     use io::{IoResult, File};
     use path::Path;