2020-11-07 02:34:14 +03:00
|
|
|
// cinttypes standard header (core)
|
2019-09-05 01:57:56 +03:00
|
|
|
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
|
|
|
#ifndef _CINTTYPES_
|
|
|
|
#define _CINTTYPES_
|
2020-11-07 02:34:14 +03:00
|
|
|
#include <yvals_core.h>
|
2019-09-05 01:57:56 +03:00
|
|
|
#if _STL_COMPILER_PREPROCESSOR
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <inttypes.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
|
2022-09-20 00:47:02 +03:00
|
|
|
_EXPORT_STD using _CSTD imaxdiv_t; // from <inttypes.h>
|
|
|
|
|
|
|
|
_EXPORT_STD using _CSTD imaxabs;
|
|
|
|
_EXPORT_STD using _CSTD imaxdiv;
|
|
|
|
_EXPORT_STD using _CSTD strtoimax;
|
|
|
|
_EXPORT_STD using _CSTD strtoumax;
|
|
|
|
_EXPORT_STD using _CSTD wcstoimax;
|
|
|
|
_EXPORT_STD using _CSTD wcstoumax;
|
2019-09-05 01:57:56 +03:00
|
|
|
_STD_END
|
|
|
|
|
|
|
|
#pragma pop_macro("new")
|
|
|
|
_STL_RESTORE_CLANG_WARNINGS
|
|
|
|
#pragma warning(pop)
|
|
|
|
#pragma pack(pop)
|
|
|
|
|
|
|
|
#endif // _STL_COMPILER_PREPROCESSOR
|
|
|
|
#endif // _CINTTYPES_
|