mirror of
https://github.com/mintsuki/freestanding-headers
synced 2024-11-22 04:21:20 +03:00
Misc updates to stdalign.h to improve resiliency
This commit is contained in:
parent
c60b8d7068
commit
123cfc9a81
@ -7,14 +7,17 @@
|
||||
#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
|
||||
# undef __alignas_is_defined
|
||||
# define __alignas_is_defined 1
|
||||
#endif
|
||||
|
||||
#define __alignas_is_defined 1
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user