better conditional compilation

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-06-24 21:09:45 +08:00
parent b9652d165b
commit d15deabba5
10 changed files with 147 additions and 94 deletions

View File

@@ -1,7 +1,8 @@
#[cfg(windows)]
pub mod win10;
use hbb_common::{bail, lazy_static, ResultType};
#[cfg(windows)]
use hbb_common::lazy_static;
use hbb_common::{bail, ResultType};
use std::path::Path;
#[cfg(windows)]