stdalign.h 354 B

12345678910111213141516
  1. #ifndef _STDALIGN_H
  2. #define _STDALIGN_H
  3. #if __STDC_VERSION__ < 201112L && (defined(__GNUC__) || defined(__TINYC__))
  4. # define _Alignas(t) __attribute__((__aligned__(t)))
  5. # define _Alignof(t) __alignof__(t)
  6. #endif
  7. #define alignas _Alignas
  8. #define alignof _Alignof
  9. #define __alignas_is_defined 1
  10. #define __alignof_is_defined 1
  11. #endif /* _STDALIGN_H */