Misc updates to stdalign.h to improve resiliency

This commit is contained in:
mintsuki 2023-04-25 21:49:22 +02:00
parent c60b8d7068
commit 123cfc9a81

View File

@ -7,13 +7,16 @@
#define __FSTD_HDRS_STDALIGN_H_MACROS 1
#ifndef __cplusplus
# undef alignas
# define alignas _Alignas
# undef alignof
# define alignof _Alignof
# undef __alignof_is_defined
# define __alignof_is_defined 1
#endif
# undef __alignas_is_defined
# define __alignas_is_defined 1
#endif
#endif