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