Ver código fonte

use actual feature names rather than crate names for conditional compilation

Lyndon Brown 4 anos atrás
pai
commit
cea63e57a4
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      playback/src/lib.rs

+ 2 - 2
playback/src/lib.rs

@@ -8,10 +8,10 @@ extern crate shell_words;
 #[cfg(feature = "alsa-backend")]
 extern crate alsa;
 
-#[cfg(feature = "portaudio-rs")]
+#[cfg(feature = "portaudio-backend")]
 extern crate portaudio_rs;
 
-#[cfg(feature = "libpulse-sys")]
+#[cfg(feature = "pulseaudio-backend")]
 extern crate libpulse_sys;
 
 #[cfg(feature = "jackaudio-backend")]