.cargo/vendor/libc/src/unix/bsd/netbsdlike/openbsd/x86.rs
raw| 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 | } |
| 15 | |
| 16 | pub const _MAX_PAGE_SHIFT: u32 = 12; |