]> git.proxmox.com Git - rustc.git/blob - src/liblibc/src/unix/notbsd/linux/other/b64/mod.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / liblibc / src / unix / notbsd / linux / other / b64 / mod.rs
1 //! 64-bit specific definitions for linux-like values
2
3 pub type c_long = i64;
4 pub type c_ulong = u64;
5 pub type clock_t = i64;
6 pub type time_t = i64;
7 pub type suseconds_t = i64;
8 pub type ino_t = u64;
9 pub type off_t = i64;
10 pub type blkcnt_t = i64;
11 pub type __fsword_t = ::c_long;
12
13 s! {
14 pub struct sigset_t {
15 __val: [::c_ulong; 16],
16 }
17 }
18
19 pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
20
21 cfg_if! {
22 if #[cfg(target_arch = "aarch64")] {
23 mod aarch64;
24 pub use self::aarch64::*;
25 } else if #[cfg(any(target_arch = "powerpc64"))] {
26 mod powerpc64;
27 pub use self::powerpc64::*;
28 } else if #[cfg(any(target_arch = "x86_64"))] {
29 mod x86_64;
30 pub use self::x86_64::*;
31 } else {
32 // Unknown target_arch
33 }
34 }