summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-03-12 08:41:15 +0000
committerChris Michael <cp.michael@samsung.com>2014-03-12 08:42:01 +0000
commitcd28854fdf4f31684800a0efe892634431a61f2f (patch)
tree998fe2400a6e0681d8aae2d238d493e21ccd0471
parent11d250e5fc1ca1a580260683f918cc36849921af (diff)
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>
-rw-r--r--src/lib/ecore_evas/Ecore_Evas_Types.h6
1 files changed, 6 insertions, 0 deletions
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 @@
11#define _ECORE_X_WINDOW_PREDEF 11#define _ECORE_X_WINDOW_PREDEF
12typedef unsigned int Ecore_X_Window; 12typedef unsigned int Ecore_X_Window;
13typedef unsigned int Ecore_X_Pixmap; 13typedef unsigned int Ecore_X_Pixmap;
14typedef unsigned int Ecore_X_Atom;
15typedef struct _Ecore_X_Icon
16{
17 unsigned int width, height;
18 unsigned int *data;
19} Ecore_X_Icon;
14#endif 20#endif
15 21
16#ifndef _ECORE_DIRECTFB_H 22#ifndef _ECORE_DIRECTFB_H