mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 13:29:37 +00:00
Only import from speech_dispatcher when building for Linux.
This commit is contained in:
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…
Reference in New Issue
Block a user