Auto merge of #1058 - jakllsch:netbsd-283b36ac-fab0-4e5f-b620-4325f8cedc80, r=alexcrichton

NetBSD: add basic types for aarch64
This commit is contained in:
bors 2018-08-07 05:58:59 +00:00
commit fc8db9602e
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,3 @@
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = u8;

View File

@ -1110,7 +1110,10 @@ extern {
}
cfg_if! {
if #[cfg(target_arch = "arm")] {
if #[cfg(target_arch = "aarch64")] {
mod aarch64;
pub use self::aarch64::*;
} else if #[cfg(target_arch = "arm")] {
mod arm;
pub use self::arm::*;
} else if #[cfg(target_arch = "powerpc")] {