deepstone

annotate src/inttypes.h @ 39:f9b1ff21fd62

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 10 Mar 2014 17:28:28 +0200
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_ */