Merge commit 'be1c530a0c92701841fa6a427d4f6a53d299cdeb'

This commit is contained in:
tqchen
2015-04-25 20:52:51 -07:00
3 changed files with 11 additions and 10 deletions

View File

@@ -174,6 +174,7 @@ inline void TrackerPrintf(const char *fmt, ...) {
va_start(args, fmt);
vsnprintf(&msg[0], kPrintBuffer, fmt, args);
va_end(args);
msg.resize(strlen(msg.c_str()));
TrackerPrint(msg);
}
#endif

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