summaryrefslogtreecommitdiff
path: root/src/lib/ecore_fb
diff options
context:
space:
mode:
authorChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2015-10-20 18:58:18 +0200
committerChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2015-10-20 18:58:18 +0200
commit9d3bc82d0834d20a21b1feefc2eb3209f6cd9be4 (patch)
treee9b3b32ce181e1e9fdefd25f1ac848cc7cd21345 /src/lib/ecore_fb
parent90aa3b13ed26e3e3445b7038dd49f8b4efc077b7 (diff)
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.
Diffstat (limited to 'src/lib/ecore_fb')
-rw-r--r--src/lib/ecore_fb/ecore_fb_private.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/ecore_fb/ecore_fb_private.h b/src/lib/ecore_fb/ecore_fb_private.h
index 130350e39a..e48c7b09f8 100644
--- a/src/lib/ecore_fb/ecore_fb_private.h
+++ b/src/lib/ecore_fb/ecore_fb_private.h
@@ -33,6 +33,20 @@
33 33
34#include "Ecore_Fb.h" 34#include "Ecore_Fb.h"
35 35
36#ifdef EAPI
37# undef EAPI
38#endif
39
40#ifdef __GNUC__
41# if __GNUC__ >= 4
42# define EAPI __attribute__ ((visibility("default")))
43# else
44# define EAPI
45# endif
46#else
47# define EAPI
48#endif
49
36/* ecore_fb_li.c */ 50/* ecore_fb_li.c */
37struct _Ecore_Fb_Input_Device 51struct _Ecore_Fb_Input_Device
38{ 52{
@@ -92,4 +106,7 @@ void ecore_fb_vt_shutdown(void);
92#define TS_GET_CAL 0x8014660a 106#define TS_GET_CAL 0x8014660a
93#endif 107#endif
94 108
109#undef EAPI
110#define EAPI
111
95#endif 112#endif