From: Youngbok Shin Date: Fri, 20 Mar 2015 04:24:31 +0000 (+0900) Subject: evas: fix build failure with old version freetype. X-Git-Tag: v1.14.0-alpha1~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=262dd3a1394a52c3ff10c8c057d37e346a3bf75a;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index da53e2e..e3d6b07 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h @@ -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