mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-11 09:21:29 +03:00
Made the import of hbb_common::sysinfo::System more precisely conditioned in src/platform/mod.rs. (#13388)
This commit is contained in:
@@ -29,9 +29,15 @@ pub mod gtk_sudo;
|
|||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
use hbb_common::{
|
use hbb_common::{
|
||||||
message_proto::CursorData,
|
message_proto::CursorData,
|
||||||
sysinfo::{Pid, System},
|
sysinfo::Pid,
|
||||||
ResultType,
|
ResultType,
|
||||||
};
|
};
|
||||||
|
#[cfg(all(
|
||||||
|
not(all(target_os = "windows", not(target_pointer_width = "64"))),
|
||||||
|
not(any(target_os = "android", target_os = "ios"))))]
|
||||||
|
use hbb_common::{
|
||||||
|
sysinfo::System,
|
||||||
|
};
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
#[cfg(not(any(target_os = "macos", target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "macos", target_os = "android", target_os = "ios")))]
|
||||||
pub const SERVICE_INTERVAL: u64 = 300;
|
pub const SERVICE_INTERVAL: u64 = 300;
|
||||||
|
|||||||
Reference in New Issue
Block a user