| 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 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifndef __STDINT_H |
| 12 | #define __STDINT_H |
| 13 | |
| 14 | typedef signed char int8_t; |
| 15 | typedef short int int16_t; |
| 16 | typedef int int32_t; |
| 17 | typedef long long int int64_t; |
| 18 | |
| 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; |
| 23 | |
| 24 | typedef int intptr_t; |
| 25 | typedef unsigned int uintptr_t; |
| 26 | |
| 27 | #endif /* __STDINT_H */ |