fix build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
626fdefb18
commit
8852d97efc
4 changed files with 9 additions and 10 deletions
|
|
@ -128,7 +128,7 @@ pub fn get_license() -> String {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
#[cfg(any(target_os = "linux", target_os = "windows"))]
|
||||
#[cfg(target_os = "windows")]
|
||||
pub fn get_option_opt(key: &str) -> Option<String> {
|
||||
OPTIONS.lock().unwrap().get(key).map(|x| x.clone())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue