summaryrefslogtreecommitdiffstats
path: root/include/lib/libc/aarch64/stdint_.h
blob: 34a75ece14bb30d4204d6af7a9bf0ab0931dd9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright 2020 Broadcom
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
/*
 * Portions copyright (c) 2020, Arm Limited and Contributors.
 * All rights reserved.
 */

#ifndef STDINT__H
#define STDINT__H

#define INT64_MAX  LONG_MAX
#define INT64_MIN  LONG_MIN
#define UINT64_MAX ULONG_MAX

#define INT64_C(x) x ## L
#define UINT64_C(x) x ## UL

typedef long int64_t;
typedef unsigned long uint64_t;
typedef long int64_least_t;
typedef unsigned long uint64_least_t;
typedef long int64_fast_t;
typedef unsigned long uint64_fast_t;

typedef __int128 int128_t;
typedef unsigned __int128 uint128_t;

#endif