Auto merge of #1058 - jakllsch:netbsd-283b36ac-fab0-4e5f-b620-4325f8cedc80, r=alexcrichton
NetBSD: add basic types for aarch64
This commit is contained in:
commit
fc8db9602e
3
src/unix/bsd/netbsdlike/netbsd/aarch64.rs
Normal file
3
src/unix/bsd/netbsdlike/netbsd/aarch64.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub type c_long = i64;
|
||||
pub type c_ulong = u64;
|
||||
pub type c_char = u8;
|
@ -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")] {
|
||||
|
Loading…
Reference in New Issue
Block a user