tcc-stupidos/libtcc1/include/stdalign.h

17 lines
369 B
C
Raw Normal View History

2025-03-01 09:28:53 +00:00
#ifndef _STDALIGN_H_
# define _STDALIGN_H_ 1
2019-09-08 12:04:06 +00:00
2025-03-01 09:28:53 +00:00
# if __STDC_VERSION__ < 201112L && (defined(__GNUC__) || defined(__TINYC__))
# define _Alignas(t) __attribute__((__aligned__(t)))
# define _Alignof(t) __alignof__(t)
# endif
2019-09-08 12:04:06 +00:00
2025-03-01 09:28:53 +00:00
# define alignas _Alignas
# define alignof _Alignof
2019-09-08 12:04:06 +00:00
2025-03-01 09:28:53 +00:00
# define __alignas_is_defined 1
# define __alignof_is_defined 1
2019-09-08 12:04:06 +00:00
2025-03-01 09:28:53 +00:00
#endif /* !_STDALIGN_H_ */
2019-09-08 12:04:06 +00:00