diff --git a/wrap/gcache/cache.h b/wrap/gcache/cache.h index ae6f4b69..62162374 100644 --- a/wrap/gcache/cache.h +++ b/wrap/gcache/cache.h @@ -1,7 +1,19 @@ #ifndef GCACHE_CACHE_H #define GCACHE_CACHE_H -#include +#ifdef _MSC_VER + +typedef __int16 int16_t; +typedef unsigned __int16 uint16_t; +typedef __int32 int32_t; +typedef unsigned __int32 uint32_t; +typedef __int64 int64_t; +typedef unsigned __int64 uint64_t; + +#else +#include +#endif + #include #include #include