brintos

brintos / llvm-project-archived public Read only

0
0
Text · 756 B · 158508e Raw
25 lines · c
1/*===---- stdalign.h - Standard header for alignment ------------------------===2 *3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4 * See https://llvm.org/LICENSE.txt for license information.5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6 *7 *===-----------------------------------------------------------------------===8 */9 10#ifndef __STDALIGN_H11#define __STDALIGN_H12 13#if defined(__cplusplus) ||                                                    \14    (defined(__STDC_VERSION__) && __STDC_VERSION__ < 202311L)15#ifndef __cplusplus16#define alignas _Alignas17#define alignof _Alignof18#endif19 20#define __alignas_is_defined 121#define __alignof_is_defined 122#endif /* __STDC_VERSION__ */23 24#endif /* __STDALIGN_H */25