1 /* Alignment <stdalign.h> 2 3 This file is part of the Public Domain C Library (PDCLib). 4 Permission is granted to use, modify, and / or redistribute at will. 5 */ 6 7 #ifndef _PDCLIB_STDALIGN_H 8 #define _PDCLIB_ALIGN_H _PDCLIB_ALIGN_H 9 10 #ifndef __cplusplus 11 #define alignas _Alignas 12 #define alignof _Alignof 13 #endif 14 15 #define __alignas_is_defined 1 16 #define __alignof_is_defined 1 17 18 /* Extension hook for downstream projects that want to have non-standard 19 extensions to standard headers. 20 */ 21 #ifdef _PDCLIB_EXTEND_STDALIGN_H 22 #include _PDCLIB_EXTEND_STDALIGN_H 23 #endif 24 25 #endif 26 27