evas: fix build failure with old version freetype. 55/47755/3
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 20 Mar 2015 04:24:31 +0000 (13:24 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 9 Sep 2015 04:47:49 +0000 (21:47 -0700)
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

Change-Id: Id127d393567186b855a99910ff104769f39be4e7
Origin: upstream

src/lib/evas/include/evas_common_private.h

index 9b2c28b..7d56656 100644 (file)
@@ -194,6 +194,14 @@ extern EAPI int _evas_log_dom_global;
 #include FT_SIZES_H
 #include FT_MODULE_H
 
+#ifndef FT_HAS_COLOR
+# 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