fix build

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-01 09:56:46 +08:00
parent 5555cf8fbe
commit e978d1d0fd
3 changed files with 6 additions and 6 deletions

View File

@@ -26,11 +26,6 @@ use hbb_common::{message_proto::CursorData, ResultType};
#[cfg(not(any(target_os = "macos", target_os = "android", target_os = "ios")))]
const SERVICE_INTERVAL: u64 = 300;
pub const PLATFORM_WINDOWS: &str = "Windows";
pub const PLATFORM_LINUX: &str = "Linux";
pub const PLATFORM_MACOS: &str = "Mac OS";
pub const PLATFORM_ANDROID: &str = "Android";
pub fn is_xfce() -> bool {
#[cfg(target_os = "linux")]
{