]> git.zerfleddert.de Git - proxmark3-svn/blame - armsrc/stdint.h
Add license headers to armsrc/bootrom/common stuff
[proxmark3-svn] / armsrc / stdint.h
CommitLineData
bd20f8f4 1//-----------------------------------------------------------------------------
2// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
3//
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
6// the license.
7//-----------------------------------------------------------------------------
8// Replacement stdint.h because GCC doesn't come with it yet (C99)
9//-----------------------------------------------------------------------------
5e174a51 10
e30c654b 11#ifndef __STDINT_H
12#define __STDINT_H
5e174a51 13
e30c654b 14typedef signed char int8_t;
15typedef short int int16_t;
16typedef int int32_t;
17typedef long long int int64_t;
5e174a51 18
e30c654b 19typedef unsigned char uint8_t;
20typedef unsigned short int uint16_t;
21typedef unsigned int uint32_t;
5e174a51 22typedef unsigned long long int uint64_t;
23
e30c654b 24typedef int int_fast16_t;
25typedef int int_fast32_t;
5e174a51 26
e30c654b 27typedef unsigned int uint_fast16_t;
28typedef unsigned int uint_fast32_t;
5e174a51 29
e30c654b 30typedef int intptr_t;
31typedef unsigned int uintptr_t;
5e174a51 32
e30c654b 33#define __INT64_C(c) c ## LL
34#define __UINT64_C(c) c ## ULL
5e174a51 35
e30c654b 36#define __PRI64_RANK "ll"
37#define __PRIFAST_RANK ""
38#define __PRIPTR_RANK ""
5e174a51 39
e30c654b 40#endif /* __STDINT_H */
Impressum, Datenschutz