mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-25 05:49:41 +03:00
Misc updates to stdalign.h to improve resiliency
This commit is contained in:
parent
c60b8d7068
commit
123cfc9a81
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user