]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
92a42be0
SL
1//! 64-bit specific definitions for linux-like values
2
3pub type c_long = i64;
4pub type c_ulong = u64;
5pub type clock_t = i64;
6pub type time_t = i64;
7pub type suseconds_t = i64;
8pub type ino_t = u64;
9pub type off_t = i64;
10pub type blkcnt_t = i64;
9cc50fc6 11pub type __fsword_t = ::c_long;
92a42be0
SL
12
13s! {
14 pub struct sigset_t {
15 __val: [::c_ulong; 16],
16 }
17}
18
19pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
20
21cfg_if! {
22 if #[cfg(target_arch = "aarch64")] {
23 mod aarch64;
24 pub use self::aarch64::*;
7453a54e 25 } else if #[cfg(any(target_arch = "powerpc64"))] {
9cc50fc6
SL
26 mod powerpc64;
27 pub use self::powerpc64::*;
54a0048b 28 } else if #[cfg(any(target_arch = "x86_64"))] {
92a42be0
SL
29 mod x86_64;
30 pub use self::x86_64::*;
54a0048b
SL
31 } else {
32 // Unknown target_arch
92a42be0
SL
33 }
34}