blob: 61090842eab747472596f87ca6d17e8fd093952e [file] [log] [blame]
Scott Brandene5dcf982020-08-25 13:49:32 -07001/*
2 * Copyright 2020 Broadcom
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05007 * Portions copyright (c) 2020, Arm Limited and Contributors.
Scott Brandene5dcf982020-08-25 13:49:32 -07008 * All rights reserved.
9 */
10
11#ifndef INTTYPES__H
12#define INTTYPES__H
13
14#define PRId64 "ld" /* int64_t */
15#define PRIi64 "li" /* int64_t */
16#define PRIo64 "lo" /* int64_t */
17#define PRIu64 "lu" /* uint64_t */
18#define PRIx64 "lx" /* uint64_t */
19#define PRIX64 "lX" /* uint64_t */
20
K2cf13062022-07-27 17:30:49 +050021#define PRIdPTR "ld" /* intptr_t */
22#define PRIiPTR "li" /* intptr_t */
23#define PRIoPTR "lo" /* intptr_t */
24#define PRIuPTR "lu" /* uintptr_t */
25#define PRIxPTR "lx" /* uintptr_t */
26#define PRIXPTR "lX" /* uintptr_t */
27
Scott Brandene5dcf982020-08-25 13:49:32 -070028#endif /* INTTYPES__H */