ecore-evas: Predefine Ecore_X_Atom and Ecore_X_Icon
authorChris Michael <cp.michael@samsung.com>
Wed, 12 Mar 2014 08:41:15 +0000 (08:41 +0000)
committerChris Michael <cp.michael@samsung.com>
Wed, 12 Mar 2014 08:42:01 +0000 (08:42 +0000)
@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 <cp.michael@samsung.com>
src/lib/ecore_evas/Ecore_Evas_Types.h

index b503533..eea8aa7 100644 (file)
 #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