2011-09-30 02:04:28 +08:00
|
|
|
/*===---- stdalign.h - Standard header for alignment ------------------------===
|
|
|
|
*
|
2019-04-09 04:51:30 +08:00
|
|
|
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
* See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2011-09-30 02:04:28 +08:00
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STDALIGN_H
|
|
|
|
#define __STDALIGN_H
|
|
|
|
|
2013-02-21 10:17:58 +08:00
|
|
|
#ifndef __cplusplus
|
2011-09-30 02:04:28 +08:00
|
|
|
#define alignas _Alignas
|
2013-01-30 14:33:54 +08:00
|
|
|
#define alignof _Alignof
|
2013-02-21 10:17:58 +08:00
|
|
|
#endif
|
|
|
|
|
2011-09-30 02:04:28 +08:00
|
|
|
#define __alignas_is_defined 1
|
2013-01-30 14:33:54 +08:00
|
|
|
#define __alignof_is_defined 1
|
2011-09-30 02:04:28 +08:00
|
|
|
|
|
|
|
#endif /* __STDALIGN_H */
|