summaryrefslogtreecommitdiff
path: root/src/windows/gnu/align.rs
blob: d519b181beb919d17a090acc27567b536e94eb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cfg_if! {
    if #[cfg(target_pointer_width = "64")] {
        s! {
            #[repr(align(16))]
            pub struct max_align_t {
                priv_: [f64; 4]
            }
        }
    } else if #[cfg(target_pointer_width = "32")] {
        s! {
            #[repr(align(16))]
            pub struct max_align_t {
                priv_: [i64; 6]
            }
        }
    }
}