From 262dd3a1394a52c3ff10c8c057d37e346a3bf75a Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Fri, 20 Mar 2015 13:24:31 +0900 Subject: [PATCH] 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 --- src/lib/evas/include/evas_common_private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index da53e2ed56..e3d6b07956 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