Only import from speech_dispatcher when building for Linux.

pull/16/head v0.19.0
Nolan Darilek 1 year ago
parent 89fd14d957
commit 94417b5351

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

Loading…
Cancel
Save