]> git.proxmox.com Git - cargo.git/blob - vendor/libc/src/unix/bsd/netbsdlike/openbsd/x86.rs
New upstream version 0.37.0
[cargo.git] / vendor / libc / src / unix / bsd / netbsdlike / openbsd / x86.rs
1 pub type c_long = i32;
2 pub type c_ulong = u32;
3 pub type c_char = i8;
4
5 // should be pub(crate), but that requires Rust 1.18.0
6 cfg_if! {
7 if #[cfg(libc_const_size_of)] {
8 #[doc(hidden)]
9 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
10 } else {
11 #[doc(hidden)]
12 pub const _ALIGNBYTES: usize = 4 - 1;
13 }
14 }