* include/freetype/internal/ftcalc.h (FT_MSB): Support Open Watcom 2.0.

Closes !232.
div-by-zero
Jiří Malák 2 years ago committed by Alexei Podtelezhnikov
parent aca4ec5907
commit 34c1bb66e4
  1. 10
      include/freetype/internal/ftcalc.h

@ -447,11 +447,11 @@ FT_BEGIN_HEADER
extern __inline FT_Int32
FT_MSB_i386( FT_UInt32 x );
#pragma aux FT_MSB_i386 = \
"bsr eax, eax" \
parm [eax] nomemory \
value [eax] \
modify exact [eax] nomemory;
#pragma aux FT_MSB_i386 = \
"bsr eax, eax" \
__parm [__eax] __nomemory \
__value [__eax] \
__modify __exact [__eax] __nomemory;
#define FT_MSB( x ) FT_MSB_i386( x )

Loading…
Cancel
Save