* include/freetype/internal/ftcalc.h (FT_MSB): Define for Solaris 11.

This commit is contained in:
Alexei Podtelezhnikov 2023-09-21 02:28:32 +00:00
parent c4073d8251
commit cc732ec6d1
1 changed files with 6 additions and 0 deletions

View File

@ -455,6 +455,12 @@ FT_BEGIN_HEADER
#define FT_MSB( x ) FT_MSB_i386( x )
#elif defined( __SunOS_5_11 )
#include <string.h>
#define FT_MSB( x ) ( fls( x ) - 1 )
#elif defined( __DECC ) || defined( __DECCXX )
#include <builtins.h>