Define max_align_t in <stddef.h>

It was previously only being defined in <cstddef>

See oilshell/oil#1760
This commit is contained in:
Justine Tunney 2023-12-05 00:52:33 -08:00
parent 536dfb947a
commit 221a27836b
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -130,6 +130,9 @@ typedef __UINT64_TYPE__ uint64_t;
typedef __INTMAX_TYPE__ intmax_t;
typedef __UINTMAX_TYPE__ uintmax_t;
#define __DEFINED_max_align_t
typedef long double max_align_t;
#ifdef _COSMO_SOURCE
#if ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 406 || \
defined(__llvm__)) && \