1.1 --- a/include/keima_util.h Sat Jul 28 13:47:46 2012 -0700
1.2 +++ b/include/keima_util.h Sat Jul 28 13:54:17 2012 -0700
1.3 @@ -30,4 +30,17 @@
1.4 # define KE_EXPORT
1.5 #endif
1.6
1.7 +#if defined(_MSC_VER) && _MSC_VER < 1600
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 +#else
1.17 +# include <stdint.h>
1.18 +#endif
1.19 +
1.20 #endif // _include_keima_util_h_