blob: 34a75ece14bb30d4204d6af7a9bf0ab0931dd9ad [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 STDINT__H
12#define STDINT__H
13
14#define INT64_MAX LONG_MAX
15#define INT64_MIN LONG_MIN
16#define UINT64_MAX ULONG_MAX
17
18#define INT64_C(x) x ## L
19#define UINT64_C(x) x ## UL
20
21typedef long int64_t;
22typedef unsigned long uint64_t;
23typedef long int64_least_t;
24typedef unsigned long uint64_least_t;
25typedef long int64_fast_t;
26typedef unsigned long uint64_fast_t;
27
28typedef __int128 int128_t;
29typedef unsigned __int128 uint128_t;
30
31#endif