rayzor
annotate src/inttypes.h @ 20:6b11a3f8706e
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 15 Apr 2014 01:36:03 +0300 |
parents | a826bf0fb169 |
children |
rev | line source |
---|---|
nuclear@1 | 1 #ifndef INT_TYPES_H_ |
nuclear@1 | 2 #define INT_TYPES_H_ |
nuclear@1 | 3 |
nuclear@1 | 4 #if defined(__DOS__) || defined(WIN32) |
nuclear@1 | 5 typedef char int8_t; |
nuclear@1 | 6 typedef short int16_t; |
nuclear@1 | 7 typedef long int32_t; |
nuclear@1 | 8 |
nuclear@1 | 9 typedef unsigned char uint8_t; |
nuclear@1 | 10 typedef unsigned short uint16_t; |
nuclear@1 | 11 typedef unsigned long uint32_t; |
nuclear@15 | 12 |
nuclear@15 | 13 typedef unsigned long intptr_t; |
nuclear@1 | 14 #else |
nuclear@1 | 15 #include <stdint.h> |
nuclear@1 | 16 #endif |
nuclear@1 | 17 |
nuclear@1 | 18 #endif /* INT_TYPES_H_ */ |