From 2cac1c3542cc250c98a3d1f3b9b8c8e62660005e Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 17 May 2018 19:40:44 +0200 Subject: [PATCH] s/inline/__inline/ for MSVC. Reported by John Emmas . * include/freetype/internal/ftcalc.h (FT_MSB) [_MSC_VER]: Do it. --- ChangeLog | 8 ++++++++ include/freetype/internal/ftcalc.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4b726e55a..9a92da07a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2018-05-17 Werner Lemberg + + s/inline/__inline/ for MSVC. + + Reported by John Emmas . + + * include/freetype/internal/ftcalc.h (FT_MSB) [_MSC_VER]: Do it. + 2018-05-16 Werner Lemberg Add function `FT_Get_GlyphLayers' to access `COLR' table data. diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index 3f889e631..d3c074b5f 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -362,7 +362,7 @@ FT_BEGIN_HEADER #include - static inline FT_Int32 + static __inline FT_Int32 FT_MSB_i386( FT_UInt32 x ) { unsigned long where;