deepstone
diff src/inttypes.h @ 24:ad6b185723cd
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 21 Sep 2013 20:18:28 +0300 |
parents | 00d84ab1ef26 |
children | 1870c4ef8b76 |
line diff
1.1 --- a/src/inttypes.h Sat Sep 21 19:09:03 2013 +0300 1.2 +++ b/src/inttypes.h Sat Sep 21 20:18:28 2013 +0300 1.3 @@ -1,6 +1,7 @@ 1.4 #ifndef INT_TYPES_H_ 1.5 #define INT_TYPES_H_ 1.6 1.7 +#ifdef __DOS__ 1.8 typedef char int8_t; 1.9 typedef short int16_t; 1.10 typedef long int32_t; 1.11 @@ -8,5 +9,8 @@ 1.12 typedef unsigned char uint8_t; 1.13 typedef unsigned short uint16_t; 1.14 typedef unsigned long uint32_t; 1.15 +#else 1.16 +#include <stdint.h> 1.17 +#endif 1.18 1.19 #endif /* INT_TYPES_H_ */