vbeinfo
diff src/inttypes.h @ 0:4b33fa83e381
vbeinfo initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Dec 2015 07:28:47 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/inttypes.h Sat Dec 05 07:28:47 2015 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +#ifndef INT_TYPES_H_ 1.5 +#define INT_TYPES_H_ 1.6 + 1.7 +#if defined(__DOS__) || defined(WIN32) 1.8 +typedef char int8_t; 1.9 +typedef short int16_t; 1.10 +typedef long int32_t; 1.11 + 1.12 +typedef unsigned char uint8_t; 1.13 +typedef unsigned short uint16_t; 1.14 +typedef unsigned long uint32_t; 1.15 + 1.16 +typedef unsigned long intptr_t; 1.17 +#else 1.18 +#include <stdint.h> 1.19 +#endif 1.20 + 1.21 +#endif /* INT_TYPES_H_ */