From 7eceba178d443eb037479d9ed3cc377be3e8f0f6 Mon Sep 17 00:00:00 2001 From: Petr Skocik Date: Fri, 4 Jan 2019 14:56:37 +0100 Subject: [PATCH] Add max_align_t to stddef.h --- include/stddef.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/stddef.h b/include/stddef.h index 694d5037..06fbd9bd 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -8,6 +8,8 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef __PTRDIFF_TYPE__ intptr_t; typedef __SIZE_TYPE__ uintptr_t; +typedef union { long long __ll; long double __ld; } max_align_t; + #ifndef __int8_t_defined #define __int8_t_defined typedef signed char int8_t;