summaryrefslogtreecommitdiff
path: root/src/windows/gnu/align.rs
blob: dd3a3f72d30d03607cc8b3866de41fa34a12a10f (plain)
1
2
3
4
5
6
7
8
9
cfg_if! {
    if #[cfg(target_pointer_width = "64")] {
        #[derive(Copy, Clone, Debug, PartialEq)]
        #[repr(C, align(16))] pub struct max_align_t([f64; 4]);
    } else if #[cfg(target_pointer_width = "32")] {
        #[derive(Copy, Clone, Debug, PartialEq)]
        #[repr(C, align(16))] pub struct max_align_t([i64; 6]);
    }
}