Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
remove redefinition of c_char and w_char, remove typo
  • Loading branch information
stlankes committed Mar 2, 2019
commit 585d45a1f315818d6c4fae985e5ce732525f8f71
2 changes: 0 additions & 2 deletions src/hermit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down