]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - bootrom/stdint.h
86f5db8cbf4fad58e7c0ca624277c0fcfa347cf4
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Replacement stdint.h because GCC doesn't come with it yet (C99)
9 //-----------------------------------------------------------------------------
14 typedef signed char int8_t;
15 typedef short int int16_t;
17 typedef long long int int64_t;
19 typedef unsigned char uint8_t;
20 typedef unsigned short int uint16_t;
21 typedef unsigned int uint32_t;
22 typedef unsigned long long int uint64_t;
24 typedef int int_fast16_t;
25 typedef int int_fast32_t;
27 typedef unsigned int uint_fast16_t;
28 typedef unsigned int uint_fast32_t;
31 typedef unsigned int uintptr_t;
33 #define __INT64_C(c) c ## LL
34 #define __UINT64_C(c) c ## ULL
36 #define __PRI64_RANK "ll"
37 #define __PRIFAST_RANK ""
38 #define __PRIPTR_RANK ""
40 #endif /* __STDINT_H */