[truetype] Avoid empty source file.
* src/truetype/ttsubpix.c [!TT_CONFIG_OPTION_SUBPIXEL_HINTING]: Provide dummy typedef.
This commit is contained in:
parent
7441dd874d
commit
6650be7c43
|
@ -1,3 +1,10 @@
|
|||
2013-05-13 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Avoid empty source file.
|
||||
|
||||
* src/truetype/ttsubpix.c [!TT_CONFIG_OPTION_SUBPIXEL_HINTING]:
|
||||
Provide dummy typedef.
|
||||
|
||||
2013-05-13 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cf2font.c (cf2_getGlyphWidth): Fix uninitialized variable.
|
||||
|
|
|
@ -1074,7 +1074,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */
|
||||
#else /* !TT_CONFIG_OPTION_SUBPIXEL_HINTING */
|
||||
|
||||
/* ANSI C doesn't like empty source files */
|
||||
typedef int _tt_subpix_dummy;
|
||||
|
||||
#endif /* !TT_CONFIG_OPTION_SUBPIXEL_HINTING */
|
||||
|
||||
|
||||
/* END */
|
||||
|
|
Loading…
Reference in New Issue