blob: 4a0e07460ebb10fe101ee84406726a5a2ac065a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
s! {
// FIXME this is actually a union
#[cfg_attr(target_pointer_width = "32",
repr(align(4)))]
#[cfg_attr(target_pointer_width = "64",
repr(align(8)))]
pub struct sem_t {
#[cfg(target_pointer_width = "32")]
__size: [::c_char; 16],
#[cfg(target_pointer_width = "64")]
__size: [::c_char; 32],
}
}
|