vrshoot
diff src/vccompat/stdint.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/vccompat/stdint.h Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,15 @@ 1.4 +#ifndef MSVC_COMPAT_STDINT_H_ 1.5 +#define MSVC_COMPAT_STDINT_H_ 1.6 + 1.7 +#ifdef _MSC_VER 1.8 +typedef __int8 int8_t; 1.9 +typedef unsigned __int8 uint8_t; 1.10 +typedef __int16 int16_t; 1.11 +typedef unsigned __int16 uint16_t; 1.12 +typedef __int32 int32_t; 1.13 +typedef unsigned __int32 uint32_t; 1.14 +typedef __int64 int64_t; 1.15 +typedef unsigned __int64 uint64_t; 1.16 +#endif 1.17 + 1.18 +#endif /* MSVC_COMPAT_STDINT_H_ */