diff --git a/src/hb-common.h b/src/hb-common.h index dfdefc627..533de9156 100644 --- a/src/hb-common.h +++ b/src/hb-common.h @@ -49,8 +49,8 @@ #if defined (_AIX) # include -#elif defined (_MSC_VER) && _MSC_VER < 1800 -/* VS 2013 (_MSC_VER 1800) has inttypes.h */ +#elif defined (_MSC_VER) && _MSC_VER < 1600 +/* VS 2010 (_MSC_VER 1600) has stdint.h */ typedef __int8 int8_t; typedef unsigned __int8 uint8_t; typedef __int16 int16_t; @@ -59,6 +59,9 @@ typedef __int32 int32_t; typedef unsigned __int32 uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; +#elif defined (_MSC_VER) && _MSC_VER < 1800 +/* VS 2013 (_MSC_VER 1800) has inttypes.h */ +# include #else # include #endif