Use FreeType include macros instead of filenames directly (per the API docs), patch by Radegast.

This commit is contained in:
Zack Middleton 2012-04-02 17:23:46 +00:00
parent de1360f268
commit b211b35853

View file

@ -73,11 +73,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef BUILD_FREETYPE #ifdef BUILD_FREETYPE
#include <ft2build.h> #include <ft2build.h>
#include <freetype/fterrors.h> #include FT_ERRORS_H
#include <freetype/ftsystem.h> #include FT_SYSTEM_H
#include <freetype/ftimage.h> #include FT_IMAGE_H
#include <freetype/freetype.h> #include FT_FREETYPE_H
#include <freetype/ftoutln.h> #include FT_OUTLINE_H
#define _FLOOR(x) ((x) & -64) #define _FLOOR(x) ((x) & -64)
#define _CEIL(x) (((x)+63) & -64) #define _CEIL(x) (((x)+63) & -64)