diff options
Diffstat (limited to 'src/autofit/ft-hb.c')
-rw-r--r-- | src/autofit/ft-hb.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/autofit/ft-hb.c b/src/autofit/ft-hb.c index 260ebdc1b..09a8401c4 100644 --- a/src/autofit/ft-hb.c +++ b/src/autofit/ft-hb.c @@ -92,7 +92,7 @@ hb_ft_face_create_ (FT_Face ft_face, return face; } -hb_font_t * +FT_LOCAL_DEF(hb_font_t *) hb_ft_font_create_ (FT_Face ft_face, hb_destroy_func_t destroy) { @@ -105,4 +105,11 @@ hb_ft_font_create_ (FT_Face ft_face, return font; } -#endif +#else /* !FT_CONFIG_OPTION_USE_HARFBUZZ */ + +/* ANSI C doesn't like empty source files */ +typedef int _ft_hb_dummy; + +#endif /* !FT_CONFIG_OPTION_USE_HARFBUZZ */ + +/* END */ |