summaryrefslogtreecommitdiff
path: root/src/truetype/ttgload.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2012-06-27 08:16:06 +0200
committerWerner Lemberg <wl@gnu.org>2012-06-27 08:16:06 +0200
commit83c0ebabc2125215d8179fb777366fbce9777bb8 (patch)
tree7091204654457738adcd2ea80b9a7f55bd10f927 /src/truetype/ttgload.c
parented6508c41a23831ae173accb5b124da0b6cc3f6d (diff)
downloadfreetype2-83c0ebabc2125215d8179fb777366fbce9777bb8.tar.gz
Fix conditional compilation.
* include/freetype/internal/ftcalc.h (FT_MulDiv_No_Round): Don't enclose with `TT_USE_BYTECODE_INTERPRETER'; we now need the function elsewhere also. * src/autofit/afcjk.h: Use AF_CONFIG_OPTION_CJK. * src/truetype/ttgload.c (tt_loader_init): Fix compiler warning. * src/truetype/ttinterp.c (Ins_MSIRP): Fix compiler warning. * src/truetype/ttinterp.h: Use TT_CONFIG_OPTION_BYTECODE_INTERPRETER.
Diffstat (limited to 'src/truetype/ttgload.c')
-rw-r--r--src/truetype/ttgload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index a88a70580..63d37730b 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1899,7 +1899,9 @@
{
TT_Face face;
FT_Stream stream;
+#ifdef TT_USE_BYTECODE_INTERPRETER
FT_Bool pedantic = FT_BOOL( load_flags & FT_LOAD_PEDANTIC );
+#endif
face = (TT_Face)glyph->face;