[flang] Update CommandTest for AIX (NFC) (#118403)
[llvm-project.git] / clang / lib / Headers / stdalign.h
blob158508e65d2b34c4fe725be55492bb1348e48661
1 /*===---- stdalign.h - Standard header for alignment ------------------------===
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-exception
7 *===-----------------------------------------------------------------------===
8 */
10 #ifndef __STDALIGN_H
11 #define __STDALIGN_H
13 #if defined(__cplusplus) || \
14 (defined(__STDC_VERSION__) && __STDC_VERSION__ < 202311L)
15 #ifndef __cplusplus
16 #define alignas _Alignas
17 #define alignof _Alignof
18 #endif
20 #define __alignas_is_defined 1
21 #define __alignof_is_defined 1
22 #endif /* __STDC_VERSION__ */
24 #endif /* __STDALIGN_H */