diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/bits/alltypes.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/bits/alltypes.h.in b/arch/i386/bits/alltypes.h.in index a7882ed5..646922b1 100644 --- a/arch/i386/bits/alltypes.h.in +++ b/arch/i386/bits/alltypes.h.in @@ -27,7 +27,11 @@ TYPEDEF long double float_t; TYPEDEF long double double_t; #endif +#ifdef __cplusplus +TYPEDEF struct { alignas(8) long long __ll; long double __ld; } max_align_t; +#else TYPEDEF struct { _Alignas(8) long long __ll; long double __ld; } max_align_t; +#endif TYPEDEF long time_t; TYPEDEF long suseconds_t; |