]>
Commit | Line | Data |
---|---|---|
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 | 14 | typedef signed char int8_t; |
15 | typedef short int int16_t; | |
16 | typedef int int32_t; | |
17 | typedef long long int int64_t; | |
5e174a51 | 18 | |
e30c654b | 19 | typedef unsigned char uint8_t; |
20 | typedef unsigned short int uint16_t; | |
21 | typedef unsigned int uint32_t; | |
5e174a51 | 22 | typedef unsigned long long int uint64_t; |
23 | ||
e30c654b | 24 | typedef int intptr_t; |
25 | typedef unsigned int uintptr_t; | |
5e174a51 | 26 | |
e30c654b | 27 | #endif /* __STDINT_H */ |