remove redefinition of c_char and w_char, remove typo

This commit is contained in:
Stefan Lankes 2019-03-02 20:18:52 +01:00
parent 6e9536924a
commit 585d45a1f3
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;