better handling at msvc

This commit is contained in:
tqchen
2015-04-25 20:52:07 -07:00
parent 6601939588
commit 82ca10acb6
2 changed files with 10 additions and 10 deletions

View File

@@ -43,10 +43,10 @@ extern "C" {
#ifdef _MSC_VER
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long uint64_t;
typedef long int64_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
typedef __int64 int64_t;
#else
#include <inttypes.h>
#endif