diff --git a/Cargo.toml b/Cargo.toml index 676cf4d..9f6e95c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cpal" -version = "0.2.9" +version = "0.2.10" authors = ["Pierre Krieger "] description = "Cross-platform audio playing library in pure Rust." repository = "https://github.com/tomaka/cpal" diff --git a/src/lib.rs b/src/lib.rs index 2bfd356..6909038 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ extern crate libc; pub use samples_formats::{SampleFormat, Sample}; -#[cfg(all(not(windows), not(unix)))] +#[cfg(all(not(windows), not(target_os = "linux"), not(target_os = "macos")))] use null as cpal_impl; use std::fmt;