2019-09-05 01:57:56 +03:00
|
|
|
// cstdalign standard header
|
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
|
|
#ifndef _CSTDALIGN_
|
|
|
|
#define _CSTDALIGN_
|
|
|
|
#include <yvals.h>
|
|
|
|
#if _STL_COMPILER_PREPROCESSOR
|
|
|
|
|
|
|
|
#pragma pack(push, _CRT_PACKING)
|
|
|
|
#pragma warning(push, _STL_WARNING_LEVEL)
|
|
|
|
#pragma warning(disable : _STL_DISABLED_WARNINGS)
|
|
|
|
_STL_DISABLE_CLANG_WARNINGS
|
|
|
|
#pragma push_macro("new")
|
|
|
|
#undef new
|
|
|
|
|
|
|
|
#define __alignas_is_defined 1
|
|
|
|
#define __alignof_is_defined 1
|
|
|
|
|
2022-08-12 08:28:42 +03:00
|
|
|
using _Header_cstdalign _CXX17_DEPRECATE_C_HEADER = int;
|
|
|
|
using _Hdr_cstdalign = _Header_cstdalign;
|
2019-09-05 01:57:56 +03:00
|
|
|
|
|
|
|
#pragma pop_macro("new")
|
|
|
|
_STL_RESTORE_CLANG_WARNINGS
|
|
|
|
#pragma warning(pop)
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
#endif // _STL_COMPILER_PREPROCESSOR
|
|
|
|
#endif // _CSTDALIGN_
|