]> git.proxmox.com Git - rustc.git/blame - vendor/libc/src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs
New upstream version 1.46.0+dfsg1
[rustc.git] / vendor / libc / src / unix / bsd / freebsdlike / freebsd / x86_64 / mod.rs
CommitLineData
532ac7d7 1pub type c_char = i8;
476ff2be
SL
2pub type c_long = i64;
3pub type c_ulong = u64;
4pub type time_t = i64;
5pub type suseconds_t = i64;
6
532ac7d7
XL
7// should be pub(crate), but that requires Rust 1.18.0
8cfg_if! {
9 if #[cfg(libc_const_size_of)] {
10 #[doc(hidden)]
11 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_long>() - 1;
12 } else {
13 #[doc(hidden)]
14 pub const _ALIGNBYTES: usize = 8 - 1;
15 }
16}
ea8adc8c 17pub const MAP_32BIT: ::c_int = 0x00080000;
e74abb32
XL
18
19cfg_if! {
20 if #[cfg(libc_align)] {
21 mod align;
22 pub use self::align::*;
23 }
24}