mirror of
https://github.com/reactos/reactos.git
synced 2025-04-30 02:58:48 +00:00

Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
31 lines
654 B
C
31 lines
654 B
C
//
|
|
// stdalign.h
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// The C Standard Library <stdalign.h> header.
|
|
//
|
|
#pragma once
|
|
#ifndef _INC_STDALIGN // include guard for 3rd party interop
|
|
#define _INC_STDALIGN
|
|
|
|
#include <corecrt.h>
|
|
|
|
#pragma warning(push)
|
|
#pragma warning(disable: _UCRT_DISABLED_WARNINGS)
|
|
_UCRT_DISABLE_CLANG_WARNINGS
|
|
_CRT_BEGIN_C_HEADER
|
|
|
|
#if _CRT_HAS_C11
|
|
|
|
#define alignas _Alignas
|
|
#define alignof _Alignof
|
|
#define __alignas_is_defined 1
|
|
#define __alignof_is_defined 1
|
|
|
|
#endif // _CRT_HAS_C11
|
|
|
|
_CRT_END_C_HEADER
|
|
_UCRT_RESTORE_CLANG_WARNINGS
|
|
#pragma warning(pop) // _UCRT_DISABLED_WARNINGS
|
|
#endif // _INC_STDALIGN
|