From c4bf6e91dab8499be7c8e680d7e869f70effc5ce Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 22 Apr 2016 17:31:24 +0200 Subject: [PATCH] Fix the android build --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;