Fixes vs2010 warning about INT64_C()

This commit is contained in:
miloyip 2014-06-30 10:18:14 +08:00
parent ba50fe7dc8
commit a1ce06a187

View File

@ -41,9 +41,10 @@
#pragma once
#endif
#if _MSC_VER >= 1600 // [
// miloyip: Originally Visual Studio 2010 uses its own stdint.h. However it generates warning with INT64_C(), so change to use this file for vs2010.
#if _MSC_VER >= 1700 // [
#include <stdint.h>
#else // ] _MSC_VER >= 1600 [
#else // ] _MSC_VER >= 1700 [
#include <limits.h>