chromium/third_party/llvm-build/Release+Asserts/lib/clang/20/include/inttypes.h

/*===---- inttypes.h - Standard header for integer printf macros ----------===*\
 *
 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 * See https://llvm.org/LICENSE.txt for license information.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 *
\*===----------------------------------------------------------------------===*/

#ifndef __CLANG_INTTYPES_H
// AIX system headers need inttypes.h to be re-enterable while _STD_TYPES_T
// is defined until an inclusion of it without _STD_TYPES_T occurs, in which
// case the header guard macro is defined.
#if !defined(_AIX) || !defined(_STD_TYPES_T)
#define __CLANG_INTTYPES_H
#endif
#if defined(__MVS__) && __has_include_next(<inttypes.h>)
#include_next <inttypes.h>
#else

#if defined(_MSC_VER) && _MSC_VER < 1800
#error MSVC does not have inttypes.h prior to Visual Studio 2013
#endif

#include_next <inttypes.h>

#if defined(_MSC_VER) && _MSC_VER < 1900
/* MSVC headers define int32_t as int, but PRIx32 as "lx" instead of "x".
 * This triggers format warnings, so fix it up here. */
#undef PRId32
#undef PRIdLEAST32
#undef PRIdFAST32
#undef PRIi32
#undef PRIiLEAST32
#undef PRIiFAST32
#undef PRIo32
#undef PRIoLEAST32
#undef PRIoFAST32
#undef PRIu32
#undef PRIuLEAST32
#undef PRIuFAST32
#undef PRIx32
#undef PRIxLEAST32
#undef PRIxFAST32
#undef PRIX32
#undef PRIXLEAST32
#undef PRIXFAST32

#undef SCNd32
#undef SCNdLEAST32
#undef SCNdFAST32
#undef SCNi32
#undef SCNiLEAST32
#undef SCNiFAST32
#undef SCNo32
#undef SCNoLEAST32
#undef SCNoFAST32
#undef SCNu32
#undef SCNuLEAST32
#undef SCNuFAST32
#undef SCNx32
#undef SCNxLEAST32
#undef SCNxFAST32

#define PRId32
#define PRIdLEAST32
#define PRIdFAST32
#define PRIi32
#define PRIiLEAST32
#define PRIiFAST32
#define PRIo32
#define PRIoLEAST32
#define PRIoFAST32
#define PRIu32
#define PRIuLEAST32
#define PRIuFAST32
#define PRIx32
#define PRIxLEAST32
#define PRIxFAST32
#define PRIX32
#define PRIXLEAST32
#define PRIXFAST32

#define SCNd32
#define SCNdLEAST32
#define SCNdFAST32
#define SCNi32
#define SCNiLEAST32
#define SCNiFAST32
#define SCNo32
#define SCNoLEAST32
#define SCNoFAST32
#define SCNu32
#define SCNuLEAST32
#define SCNuFAST32
#define SCNx32
#define SCNxLEAST32
#define SCNxFAST32
#endif

#endif /* __MVS__ */
#endif /* __CLANG_INTTYPES_H */