2015-12-08 16:51:59 -08:00
|
|
|
/*===---- stdalign.h - Standard header for alignment ------------------------===
|
|
|
|
*
|
2019-07-19 13:50:45 -07: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
|
2015-12-08 16:51:59 -08:00
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STDALIGN_H
|
|
|
|
#define __STDALIGN_H
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#define alignas _Alignas
|
|
|
|
#define alignof _Alignof
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define __alignas_is_defined 1
|
|
|
|
#define __alignof_is_defined 1
|
|
|
|
|
|
|
|
#endif /* __STDALIGN_H */
|