1 /*
2  * Copyright 2020 Broadcom
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 /*
7  * Portions copyright (c) 2020, ARM Limited and Contributors.
8  * 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 
21 typedef long int64_t;
22 typedef unsigned long uint64_t;
23 typedef long int64_least_t;
24 typedef unsigned long uint64_least_t;
25 typedef long int64_fast_t;
26 typedef unsigned long uint64_fast_t;
27 
28 typedef __int128 int128_t;
29 typedef unsigned __int128 uint128_t;
30 
31 #endif
32