rayzor

view src/inttypes.h @ 18:859ccadca671

portability fixes
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 14 Apr 2014 18:35:37 +0300
parents a826bf0fb169
children
line source
1 #ifndef INT_TYPES_H_
2 #define INT_TYPES_H_
4 #if defined(__DOS__) || defined(WIN32)
5 typedef char int8_t;
6 typedef short int16_t;
7 typedef long int32_t;
9 typedef unsigned char uint8_t;
10 typedef unsigned short uint16_t;
11 typedef unsigned long uint32_t;
13 typedef unsigned long intptr_t;
14 #else
15 #include <stdint.h>
16 #endif
18 #endif /* INT_TYPES_H_ */