Antonio Nino Diaz | 6ef1612 | 2018-08-15 19:51:09 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #define SCHAR_MAX 0x7F |
| 8 | #define SCHAR_MIN (-SCHAR_MIN - 1) |
| 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 0x7FFFFFFFL |
| 19 | #define LONG_MIN (-LONG_MAX - 1L) |
| 20 | #define ULONG_MAX 0xFFFFFFFFUL |
| 21 | #define LLONG_MAX 0x7FFFFFFFFFFFFFFFLL |
| 22 | #define LLONG_MIN (-LLONG_MAX - 1LL) |
| 23 | #define ULLONG_MAX 0xFFFFFFFFFFFFFFFFULL |
| 24 | |
| 25 | #define __LONG_BIT 32 |
| 26 | #define __WORD_BIT 32 |