Scott Branden | e5dcf98 | 2020-08-25 13:49:32 -0700 | [diff] [blame] | 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 LLONG_MAX |
| 15 | #define INT64_MIN LLONG_MIN |
| 16 | #define UINT64_MAX ULLONG_MAX |
| 17 | |
| 18 | #define INT64_C(x) x ## LL |
| 19 | #define UINT64_C(x) x ## ULL |
| 20 | |
| 21 | typedef long long int64_t; |
| 22 | typedef unsigned long long uint64_t; |
| 23 | typedef long long int64_least_t; |
| 24 | typedef unsigned long long uint64_least_t; |
| 25 | typedef long long int64_fast_t; |
| 26 | typedef unsigned long long uint64_fast_t; |
| 27 | |
| 28 | #endif |