RetroArch
stdint.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2018 - Francisco Javier Trujillo Mata - fjtrujy
3  *
4  * RetroArch is free software: you can redistribute it and/or modify it under the terms
5  * of the GNU General Public License as published by the Free Software Found-
6  * ation, either version 3 of the License, or (at your option) any later version.
7  *
8  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  * PURPOSE. See the GNU General Public License for more details.
11  * * You should have received a copy of the GNU General Public License along with RetroArch.
12  * If not, see <http://www.gnu.org/licenses/>.
13  */
14 
15 #ifndef STDINT_H
16 #define STDINT_H
17 
18 typedef unsigned long uintptr_t;
19 typedef signed long intptr_t;
20 
21 typedef signed char int8_t;
22 typedef signed short int16_t;
23 typedef signed int int32_t;
24 typedef signed long int64_t;
25 typedef unsigned char uint8_t;
26 typedef unsigned short uint16_t;
27 typedef unsigned int uint32_t;
28 typedef unsigned long uint64_t;
29 
30 #define STDIN_FILENO 0 /* standard input file descriptor */
31 #define STDOUT_FILENO 1 /* standard output file descriptor */
32 #define STDERR_FILENO 2 /* standard error file descriptor */
33 
34 #define INT8_C(val) val##c
35 #define INT16_C(val) val##h
36 #define INT32_C(val) val##i
37 #define INT64_C(val) val##l
38 
39 #define UINT8_C(val) val##uc
40 #define UINT16_C(val) val##uh
41 #define UINT32_C(val) val##ui
42 #define UINT64_C(val) val##ul
43 
44 #endif /* STDINT_H */
_W64 signed int intptr_t
Definition: stdint.h:164
_W64 unsigned int uintptr_t
Definition: stdint.h:165
signed short int16_t
Definition: stdint.h:122
signed int int32_t
Definition: stdint.h:123
signed __int64 int64_t
Definition: stdint.h:135
unsigned short uint16_t
Definition: stdint.h:125
unsigned __int64 uint64_t
Definition: stdint.h:136
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
signed char int8_t
Definition: stdint.h:121