• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 Winner Microelectronics Co., Ltd. All rights reserved.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef STDINT_H
17 #define STDINT_H
18 
19 typedef int32_t int_fast16_t;
20 typedef int32_t int_fast32_t;
21 typedef uint32_t uint_fast16_t;
22 typedef uint32_t uint_fast32_t;
23 
24 #define INT_FAST16_MIN  INT32_MIN
25 #define INT_FAST32_MIN  INT32_MIN
26 
27 #define INT_FAST16_MAX  INT32_MAX
28 #define INT_FAST32_MAX  INT32_MAX
29 
30 #define UINT_FAST16_MAX UINT32_MAX
31 #define UINT_FAST32_MAX UINT32_MAX
32 
33 #define INTPTR_MIN      INT32_MIN
34 #define INTPTR_MAX      INT32_MAX
35 #define UINTPTR_MAX     UINT32_MAX
36 #define PTRDIFF_MIN     INT32_MIN
37 #define PTRDIFF_MAX     INT32_MAX
38 #define SIZE_MAX        UINT32_MAX
39 
40 #endif /* STDINT_H */