From d5647a8ea3932c8a44dad13699e128d3d3fee255 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 28 Sep 2014 22:31:50 -0700 Subject: Fix libstd --- src/libstd/rand/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rand') 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; -- cgit 1.4.1-3-g733a5