1 //===--- inttypes.h - Stub header for tests ---------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 typedef __INTMAX_TYPE__ intmax_t;
13 typedef __INT64_TYPE__ int64_t;
14 typedef __INT32_TYPE__ int32_t;
15 typedef __INT16_TYPE__ int16_t;
16 typedef __INT8_TYPE__ int8_t;
18 typedef __UINTMAX_TYPE__ uintmax_t;
19 typedef __UINT64_TYPE__ uint64_t;
20 typedef __UINT32_TYPE__ uint32_t;
21 typedef __UINT16_TYPE__ uint16_t;
22 typedef __UINT8_TYPE__ uint8_t;
36 #define PRIiFAST64 "lli"
37 #define PRIiFAST32 "i"
38 #define PRIiFAST16 "hi"
39 #define PRIiFAST8 "hhi"
41 #define PRIiLEAST64 "lli"
42 #define PRIiLEAST32 "i"
43 #define PRIiLEAST16 "hi"
44 #define PRIiLEAST8 "hhi"
52 #define PRIuFAST64 "llu"
53 #define PRIuFAST32 "u"
54 #define PRIuFAST16 "hu"
55 #define PRIuFAST8 "hhu"
57 #define PRIuLEAST64 "llu"
58 #define PRIuLEAST32 "u"
59 #define PRIuLEAST16 "hu"
60 #define PRIuLEAST8 "hhu"
62 #endif // _INTTYPES_H_