]> git.zerfleddert.de Git - proxmark3-svn/blob - bootrom/stdint.h
8a7cb00841c784859f8de9c055ddcc096bd12f0c
[proxmark3-svn] / bootrom / stdint.h
1 /*
2 * Replacement stdint.h because GCC doesn't come with it yet (C99)
3 */
4
5 #ifndef __STDINT_H
6 #define __STDINT_H
7
8 typedef signed char int8_t;
9 typedef short int int16_t;
10 typedef int int32_t;
11 typedef long long int int64_t;
12
13 typedef unsigned char uint8_t;
14 typedef unsigned short int uint16_t;
15 typedef unsigned int uint32_t;
16 typedef unsigned long long int uint64_t;
17
18 typedef int int_fast16_t;
19 typedef int int_fast32_t;
20
21 typedef unsigned int uint_fast16_t;
22 typedef unsigned int uint_fast32_t;
23
24 typedef int intptr_t;
25 typedef unsigned int uintptr_t;
26
27 #define __INT64_C(c) c ## LL
28 #define __UINT64_C(c) c ## ULL
29
30 #define __PRI64_RANK "ll"
31 #define __PRIFAST_RANK ""
32 #define __PRIPTR_RANK ""
33
34 #endif /* __STDINT_H */
Impressum, Datenschutz