shithub: freetype+ttf2subf

Download patch

ref: 2cac1c3542cc250c98a3d1f3b9b8c8e62660005e
parent: 583dabf2918cc9ca82cac0b16482d2c56de8c3fa
author: Werner Lemberg <[email protected]>
date: Thu May 17 15:40:44 EDT 2018

s/inline/__inline/ for MSVC.

Reported by John Emmas <[email protected]>.

* include/freetype/internal/ftcalc.h (FT_MSB) [_MSC_VER]: Do it.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-05-17  Werner Lemberg  <[email protected]>
+
+	s/inline/__inline/ for MSVC.
+
+	Reported by John Emmas <[email protected]>.
+
+	* include/freetype/internal/ftcalc.h (FT_MSB) [_MSC_VER]: Do it.
+
 2018-05-16  Werner Lemberg  <[email protected]>
 
 	Add function `FT_Get_GlyphLayers' to access `COLR' table data.
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -362,7 +362,7 @@
 
 #include <intrin.h>
 
-  static inline FT_Int32
+  static __inline FT_Int32
   FT_MSB_i386( FT_UInt32  x )
   {
     unsigned long  where;