devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cd28854fdf4f31684800a0efe892634431a61f2f

commit cd28854fdf4f31684800a0efe892634431a61f2f
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Mar 12 08:41:15 2014 +0000

    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.mich...@samsung.com>
---
 src/lib/ecore_evas/Ecore_Evas_Types.h | 6 ++++++
 1 file changed, 6 insertions(+)

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

-- 


Reply via email to