#ifdef _MSC_VER

typedef unsigned __int8 uint8_t;
typedef unsigned __int8 u_int8_t;

typedef unsigned __int16 uint16_t;
typedef unsigned __int16 u_int16_t;

typedef unsigned __int32 uint32_t;
typedef unsigned __int32 u_int32_t;

typedef unsigned int size_t;

typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef unsigned __int64 u_int64_t;

#else

#include <stdint.h>

#endif
