workspace: move crates under crates
This commit is contained in:
parent
0016bc8cf0
commit
6393fdf3c0
354 changed files with 102 additions and 102 deletions
11
crates/utils/src/compat.rs
Normal file
11
crates/utils/src/compat.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use {cfg_if::cfg_if, uapi::c};
|
||||
|
||||
cfg_if! {
|
||||
if #[cfg(target_env = "musl")] {
|
||||
pub type IoctlNumber = c::c_int;
|
||||
pub type IovLength = c::c_int;
|
||||
} else {
|
||||
pub type IoctlNumber = c::c_ulong;
|
||||
pub type IovLength = usize;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue