From 98747fdec86b58cf3ee508947744ff129d2d62e6 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 21 Mar 2024 08:51:02 +0300 Subject: [PATCH] hb-common.h: restore including stdint.h for VS2010/2012. --- src/hb-common.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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