STL/stl/inc/csignal

40 строки
824 B
C++
Исходник Обычный вид История

2019-09-05 01:57:56 +03:00
// csignal standard header
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#pragma once
#ifndef _CSIGNAL_
#define _CSIGNAL_
#include <yvals.h>
#if _STL_COMPILER_PREPROCESSOR
#include <signal.h>
#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
_STD_BEGIN
#ifndef _M_CEE_PURE
using _CSTD sig_atomic_t;
using _CSTD raise;
using _CSTD signal;
#else // _M_CEE_PURE
using _CSTD sig_atomic_t;
using _CSTD raise;
#endif // _M_CEE_PURE
_STD_END
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma pack(pop)
#endif // _STL_COMPILER_PREPROCESSOR
#endif // _CSIGNAL_