illogict pushed a commit to branch master.

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

commit 9d3bc82d0834d20a21b1feefc2eb3209f6cd9be4
Author: Chidambar Zinnoury <chidambar.zinno...@zefla.fr>
Date:   Tue Oct 20 18:58:18 2015 +0200

     ecore fb: Unbreak ecore_evas_fb.
    
     The ecore_evas_fb module uses ecore_fb_ts_* functions which are only 
available to EFL internals and not for the general API.
    
     However, EAPI not being defined in ecore_fb_private.h made the symbols not 
being exported at all, which in return made execution-time linking not finding 
them and thus failing.
---
 src/lib/ecore_fb/ecore_fb_private.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/lib/ecore_fb/ecore_fb_private.h 
b/src/lib/ecore_fb/ecore_fb_private.h
index 130350e..e48c7b0 100644
--- a/src/lib/ecore_fb/ecore_fb_private.h
+++ b/src/lib/ecore_fb/ecore_fb_private.h
@@ -33,6 +33,20 @@
 
 #include "Ecore_Fb.h"
 
+#ifdef EAPI
+# undef EAPI
+#endif
+
+#ifdef __GNUC__
+# if __GNUC__ >= 4
+#  define EAPI __attribute__ ((visibility("default")))
+# else
+#  define EAPI
+# endif
+#else
+# define EAPI
+#endif
+
 /* ecore_fb_li.c */
 struct _Ecore_Fb_Input_Device
 {
@@ -92,4 +106,7 @@ void ecore_fb_vt_shutdown(void);
 #define TS_GET_CAL 0x8014660a
 #endif
   
+#undef EAPI
+#define EAPI
+
 #endif

-- 


Reply via email to