< prev index next >
src/java.desktop/share/native/libfreetype/include/freetype/internal/ftcalc.h
Print this page
*** 376,393 ****
#elif defined( _MSC_VER ) && ( _MSC_VER >= 1400 )
#if FT_SIZEOF_INT == 4
#include <intrin.h>
static __inline FT_Int32
FT_MSB_i386( FT_UInt32 x )
{
unsigned long where;
- /* not available in older VC versions */
_BitScanReverse( &where, x );
return (FT_Int32)where;
}
--- 376,393 ----
#elif defined( _MSC_VER ) && ( _MSC_VER >= 1400 )
#if FT_SIZEOF_INT == 4
#include <intrin.h>
+ #pragma intrinsic( _BitScanReverse )
static __inline FT_Int32
FT_MSB_i386( FT_UInt32 x )
{
unsigned long where;
_BitScanReverse( &where, x );
return (FT_Int32)where;
}
< prev index next >