ReactOS 0.4.16-dev-1059-gb1cf981
stdalign.h
Go to the documentation of this file.
1//
2// stdalign.h
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// The C Standard Library <stdalign.h> header.
7//
8#pragma once
9#ifndef _INC_STDALIGN // include guard for 3rd party interop
10#define _INC_STDALIGN
11
12#include <corecrt.h>
13
14#pragma warning(push)
15#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
18
19#if _CRT_HAS_C11
20
21#define alignas _Alignas
22#define alignof _Alignof
23#define __alignas_is_defined 1
24#define __alignof_is_defined 1
25
26#endif // _CRT_HAS_C11
27
30#pragma warning(pop) // _UCRT_DISABLED_WARNINGS
31#endif // _INC_STDALIGN
#define _UCRT_DISABLE_CLANG_WARNINGS
Definition: corecrt.h:109
#define _UCRT_RESTORE_CLANG_WARNINGS
Definition: corecrt.h:117
#define _CRT_END_C_HEADER
Definition: vcruntime.h:42
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:40