evas: fix build failure with old version freetype.
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 20 Mar 2015 04:24:31 +0000 (13:24 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Fri, 20 Mar 2015 04:24:31 +0000 (13:24 +0900)
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

index da53e2e..e3d6b07 100644 (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