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