Manually define int16_t and uint16_t when compiling with Visual Studio

This commit is contained in:
Benoit Steiner 2016-10-08 22:56:32 -07:00
parent 5727e4d89c
commit 7f0599b6eb

View File

@ -34,6 +34,8 @@
#include <cstring>
#ifdef _WIN32
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;