xmpd/src/constants.rs

16 lines
270 B
Rust
Raw Normal View History

2024-04-17 12:21:53 +00:00
#[cfg(target_family="windows")]
2024-09-21 23:16:18 +00:00
mod _m {
pub const PATH_VAR_SEP: &str = ";";
pub const EXEC_EXT: &str = "exe";
2024-04-17 12:21:53 +00:00
}
#[cfg(target_family="unix")]
2024-09-21 23:16:18 +00:00
mod _m {
pub const PATH_VAR_SEP: &str = ":";
pub const EXEC_EXT: &str = "";
2024-04-17 12:21:53 +00:00
}
2024-09-21 23:16:18 +00:00
pub use _m::*;