mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 01:08:00 +00:00
Define max_align_t in <stddef.h>
It was previously only being defined in <cstddef> See oilshell/oil#1760
This commit is contained in:
parent
536dfb947a
commit
221a27836b
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ typedef __UINT64_TYPE__ uint64_t;
|
||||||
typedef __INTMAX_TYPE__ intmax_t;
|
typedef __INTMAX_TYPE__ intmax_t;
|
||||||
typedef __UINTMAX_TYPE__ uintmax_t;
|
typedef __UINTMAX_TYPE__ uintmax_t;
|
||||||
|
|
||||||
|
#define __DEFINED_max_align_t
|
||||||
|
typedef long double max_align_t;
|
||||||
|
|
||||||
#ifdef _COSMO_SOURCE
|
#ifdef _COSMO_SOURCE
|
||||||
#if ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 406 || \
|
#if ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 406 || \
|
||||||
defined(__llvm__)) && \
|
defined(__llvm__)) && \
|
||||||
|
|
Loading…
Reference in a new issue