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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-12 08:41:15 +00:00
parent 11d250e5fc
commit cd28854fdf
1 changed files with 6 additions and 0 deletions

View File

@ -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