1 macro_rules
! expand_align
{
4 #[cfg_attr(any(target_pointer_width = "32",
5 target_arch
= "x86_64",
6 target_arch
= "powerpc64",
7 target_arch
= "mips64",
9 target_arch
= "sparc64"),
11 #[cfg_attr(not(any(target_pointer_width = "32",
12 target_arch
= "x86_64",
13 target_arch
= "powerpc64",
14 target_arch
= "mips64",
15 target_arch
= "s390x",
16 target_arch
= "sparc64")),
18 pub struct pthread_mutexattr_t
{
19 size
: [u8; ::__SIZEOF_PTHREAD_MUTEXATTR_T
],
23 pub struct pthread_condattr_t
{
24 size
: [u8; ::__SIZEOF_PTHREAD_CONDATTR_T
],
30 #[allow(missing_debug_implementations)]
31 pub struct pthread_cond_t
{
32 size
: [u8; ::__SIZEOF_PTHREAD_COND_T
],
35 #[cfg_attr(all(target_pointer_width = "32",
36 any(target_arch
= "mips",
38 target_arch
= "powerpc")),
40 #[cfg_attr(any(target_pointer_width = "64",
41 not(any(target_arch
= "mips",
43 target_arch
= "powerpc"))),
45 #[allow(missing_debug_implementations)]
46 pub struct pthread_mutex_t
{
47 size
: [u8; ::__SIZEOF_PTHREAD_MUTEX_T
],
50 #[cfg_attr(all(target_pointer_width = "32",
51 any(target_arch
= "mips",
53 target_arch
= "powerpc")),
55 #[cfg_attr(any(target_pointer_width = "64",
56 not(any(target_arch
= "mips",
58 target_arch
= "powerpc"))),
60 #[allow(missing_debug_implementations)]
61 pub struct pthread_rwlock_t
{
62 size
: [u8; ::__SIZEOF_PTHREAD_RWLOCK_T
],