Added a workaround from ott to allow the SDL_ttf fixes...

...to build with the older libfreetype2 which ships with Apple's X11
developers package for MacOSX.
This commit is contained in:
Philippe Plantier 2005-03-16 20:42:41 +00:00
parent f70fa4a8d1
commit 8e160681bc

View file

@ -71,6 +71,13 @@
#define CACHED_BITMAP 0x01
#define CACHED_PIXMAP 0x02
/*
* Allows building with early libfreetype 2.1.x (x < 3)
*/
#ifndef FT_PIXEL_MODE_MONO
#define FT_PIXEL_MODE_MONO ft_pixel_mode_mono
#endif
/* Cached glyph information */
typedef struct cached_glyph {
int stored;