From: Chris Michael Date: Wed, 12 Mar 2014 08:41:15 +0000 (+0000) Subject: ecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon X-Git-Tag: v1.9.0+464+gcaabcbe~156 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd28854fdf4f31684800a0efe892634431a61f2f;p=platform%2Fupstream%2Fefl.git ecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon @fix: Fix building Enlightenment without X support These changes are needed so that we can build Enlightenment without X support. Many places in the E code reference Ecore_X_Atom/Ecore_X_Icon. If we build E without X support, these end up being undefined, causing build to fail, so we need to predefine them. Signed-off-by: Chris Michael --- diff --git a/src/lib/ecore_evas/Ecore_Evas_Types.h b/src/lib/ecore_evas/Ecore_Evas_Types.h index b503533..eea8aa7 100644 --- a/src/lib/ecore_evas/Ecore_Evas_Types.h +++ b/src/lib/ecore_evas/Ecore_Evas_Types.h @@ -11,6 +11,12 @@ #define _ECORE_X_WINDOW_PREDEF typedef unsigned int Ecore_X_Window; typedef unsigned int Ecore_X_Pixmap; +typedef unsigned int Ecore_X_Atom; +typedef struct _Ecore_X_Icon +{ + unsigned int width, height; + unsigned int *data; +} Ecore_X_Icon; #endif #ifndef _ECORE_DIRECTFB_H