| 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-exception |
| 6 |
* |
| 7 |
*===-----------------------------------------------------------------------=== |
| 8 |
*/ |
| 9 |
|
| 10 |
#ifndef __STDALIGN_H |
| 11 |
#define __STDALIGN_H |
| 12 |
|
| 13 |
#ifndef __cplusplus |
| 14 |
#define alignas _Alignas |
| 15 |
#define alignof _Alignof |
| 16 |
#endif |
| 17 |
|
| 18 |
#define __alignas_is_defined 1 |
| 19 |
#define __alignof_is_defined 1 |
| 20 |
|
| 21 |
#endif /* __STDALIGN_H */ |