1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-07-27 03:29:37 +00:00

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

View File

@ -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"))]