Only import from speech_dispatcher when building for Linux.

This commit is contained in:
Nolan Darilek 2021-11-19 09:25:37 -06:00
parent 89fd14d957
commit 94417b5351
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ use lazy_static::lazy_static;
use libc::c_char; use libc::c_char;
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
use objc::{class, msg_send, sel, sel_impl}; use objc::{class, msg_send, sel, sel_impl};
#[cfg(target_os = "linux")]
use speech_dispatcher::SpeechDispatcherError; use speech_dispatcher::SpeechDispatcherError;
use thiserror::Error; use thiserror::Error;
#[cfg(all(windows, feature = "tolk"))] #[cfg(all(windows, feature = "tolk"))]