replace 32bit enumarator by cpp macro, conditionally on 16bit system.

This commit is contained in:
suzuki toshiya 2017-09-11 19:30:03 +09:00
parent 7576da1c3e
commit 79b806fef8
1 changed files with 5 additions and 0 deletions

View File

@ -100,11 +100,16 @@ FT_BEGIN_HEADER
* in `CF2_Blues', assuming 1000 units per em here.
*
*/
#if UINT_MAX > 0xFFFFUL
enum
{
CF2_ICF_Top = cf2_intToFixed( 880 ),
CF2_ICF_Bottom = cf2_intToFixed( -120 )
};
#else
#define CF2_ICF_Top (cf2_intToFixed( 880 ))
#define CF2_ICF_Bottom (cf2_intToFixed( -120 ))
#endif
/*