deepstone
annotate src/inttypes.h @ 41:482f30e63462
fixed typos in readme
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 15 Sep 2017 05:33:57 +0300 |
parents | ad6b185723cd |
children |
rev | line source |
---|---|
nuclear@21 | 1 #ifndef INT_TYPES_H_ |
nuclear@21 | 2 #define INT_TYPES_H_ |
nuclear@21 | 3 |
nuclear@35 | 4 #if defined(__DOS__) || defined(WIN32) |
nuclear@21 | 5 typedef char int8_t; |
nuclear@21 | 6 typedef short int16_t; |
nuclear@21 | 7 typedef long int32_t; |
nuclear@21 | 8 |
nuclear@21 | 9 typedef unsigned char uint8_t; |
nuclear@21 | 10 typedef unsigned short uint16_t; |
nuclear@21 | 11 typedef unsigned long uint32_t; |
nuclear@24 | 12 #else |
nuclear@24 | 13 #include <stdint.h> |
nuclear@24 | 14 #endif |
nuclear@21 | 15 |
nuclear@21 | 16 #endif /* INT_TYPES_H_ */ |