remove redefinition of c_char and w_char, remove typo
This commit is contained in:
parent
6e9536924a
commit
585d45a1f3
@ -41,11 +41,9 @@ pub type intptr_t = isize;
|
||||
pub type uintptr_t = usize;
|
||||
pub type ssize_t = isize;
|
||||
|
||||
pub type c_char = i8;
|
||||
pub type c_long = i64;
|
||||
pub type c_ulong = u64;
|
||||
|
||||
pub type wchar_t = i32;
|
||||
pub type wint_t = u32;
|
||||
pub type wctype_t = i64;
|
||||
|
||||
|
@ -107,7 +107,7 @@ cfg_if! {
|
||||
mod unix;
|
||||
pub use unix::*;
|
||||
} else if #[cfg(target_os = "hermit")] {
|
||||
mod redox;
|
||||
mod hermit;
|
||||
pub use hermit::*;
|
||||
} else if #[cfg(target_env = "sgx")] {
|
||||
mod sgx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user