blob: fe7ee89f27780f590ed80e869b8f0403ba0c9196 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/* ****************************************************************************
* types/least.h -- Least-width integer types for SHC.
*
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of the 'all/compiler-renesas' module in libcarrot, an
* experimental modular libc project.
*
* This file is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Lesser Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
* ************************************************************************* */
typedef __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t;
typedef __int16_t __int_least16_t;
typedef __uint16_t __uint_least16_t;
typedef __int32_t __int_least32_t;
typedef __uint32_t __uint_least32_t;
#define __INT_LEAST8_WIDTH __INT8_WIDTH
#define __INT_LEAST8_MIN __INT8_MIN
#define __INT_LEAST8_MAX __INT8_MAX
#define __UINT_LEAST8_MIN __UINT8_MIN
#define __UINT_LEAST8_MAX __UINT8_MAX
#define __PRILEAST8 __PRI8
#define __INT8_C(_X) _X
#define __UINT8_C(_X) _X
#define __INT_LEAST16_WIDTH __INT16_WIDTH
#define __INT_LEAST16_MIN __INT16_MIN
#define __INT_LEAST16_MAX __INT16_MAX
#define __UINT_LEAST16_MIN __UINT16_MIN
#define __UINT_LEAST16_MAX __UINT16_MAX
#define __PRILEAST16 __PRI16
#define __INT16_C(_X) _X
#define __UINT16_C(_X) _X
#define __INT_LEAST32_WIDTH __INT32_WIDTH
#define __INT_LEAST32_MIN __INT32_MIN
#define __INT_LEAST32_MAX __INT32_MAX
#define __UINT_LEAST32_MIN __UINT32_MIN
#define __UINT_LEAST32_MAX __UINT32_MAX
#define __PRILEAST32 __PRI32
#define __INT32_C(_X) _X ## L
#define __UINT32_C(_X) _X ## UL
|