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