Make stddef.h expose max_align_t with -std= >= c11

This commit is contained in:
Petr Skocik 2019-01-11 11:17:49 +01:00
parent 2b94c0c3b1
commit 065a3b35fc

View File

@ -8,6 +8,10 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __PTRDIFF_TYPE__ intptr_t;
typedef __SIZE_TYPE__ uintptr_t;
#if __STDC_VERSION__ >= 201112L
typedef union { long long __ll; long double __ld; } max_align_t;
#endif
#ifndef __int8_t_defined
#define __int8_t_defined
typedef signed char int8_t;