Antonio Nino Diaz | 6ef1612 | 2018-08-15 19:51:09 +0100 | [diff] [blame] | 1 | /* |
Govindraj Raja | eee28e7 | 2023-08-01 15:52:40 -0500 | [diff] [blame] | 2 | * Copyright (c) 2018-2023, Arm Limited and Contributors. All rights reserved. |
Antonio Nino Diaz | 6ef1612 | 2018-08-15 19:51:09 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #define SCHAR_MAX 0x7F |
Yann Gautier | 93416b7 | 2023-01-06 14:18:25 +0100 | [diff] [blame] | 8 | #define SCHAR_MIN (-SCHAR_MAX - 1) |
Antonio Nino Diaz | 6ef1612 | 2018-08-15 19:51:09 +0100 | [diff] [blame] | 9 | #define CHAR_MAX 0x7F |
| 10 | #define CHAR_MIN (-CHAR_MAX - 1) |
| 11 | #define UCHAR_MAX 0xFFU |
| 12 | #define SHRT_MAX 0x7FFF |
| 13 | #define SHRT_MIN (-SHRT_MAX - 1) |
| 14 | #define USHRT_MAX 0xFFFFU |
| 15 | #define INT_MAX 0x7FFFFFFF |
| 16 | #define INT_MIN (-INT_MAX - 1) |
| 17 | #define UINT_MAX 0xFFFFFFFFU |
| 18 | #define LONG_MAX 0x7FFFFFFFFFFFFFFFL |
| 19 | #define LONG_MIN (-LONG_MAX - 1L) |
| 20 | #define ULONG_MAX 0xFFFFFFFFFFFFFFFFUL |
| 21 | #define LLONG_MAX 0x7FFFFFFFFFFFFFFFLL |
| 22 | #define LLONG_MIN (-LLONG_MAX - 1LL) |
| 23 | #define ULLONG_MAX 0xFFFFFFFFFFFFFFFFULL |
| 24 | |
| 25 | #define __LONG_BIT 64 |
| 26 | #define __WORD_BIT 32 |