evas: fix build failure with old version freetype.

Summary:
Fix build failure with old version freetype.
It is caused for supporting colored font.

Reviewers: raster, jpeg, woohyun, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2200
This commit is contained in:
Youngbok Shin 2015-03-20 13:24:31 +09:00 committed by ChunEon Park
parent 377e94263b
commit 262dd3a139
1 changed files with 4 additions and 0 deletions

View File

@ -198,6 +198,10 @@ extern EAPI int _evas_log_dom_global;
# define FT_HAS_COLOR(face) 0
#endif
#ifndef FT_LOAD_COLOR
# define FT_LOAD_COLOR FT_LOAD_DEFAULT
#endif
#ifdef __GNUC__
# if __GNUC__ >= 4
// BROKEN in gcc 4 on amd64