summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-11 19:30:03 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 17:11:13 +0900
commit79b806fef82ab0437b58067305796c02b7ec4593 (patch)
tree4ae9453822e521d9f4a153312385f3078696f5cc
parent7576da1c3efd7d4c6471acb5be5caba161da6990 (diff)
downloadfreetype2-79b806fef82ab0437b58067305796c02b7ec4593.tar.gz
replace 32bit enumarator by cpp macro, conditionally on 16bit system.
-rw-r--r--src/cff/cf2blues.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cff/cf2blues.h b/src/cff/cf2blues.h
index a6bcd9de5..6e197543c 100644
--- a/src/cff/cf2blues.h
+++ b/src/cff/cf2blues.h
@@ -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
/*