summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-05-15 18:22:17 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-05-15 18:24:42 +0200
commit80863d7e87245c44ab14bd345644c923bd7aeb7b (patch)
tree396642110216a64e7899ca719989019f9a7d1f27
parentc0dd61ab7b6668d72a94abe143d21f29e18bcbba (diff)
emix: fix visibility of API calls
Before 1.14 dev cycle EAPI defines where leaked in public header files. Now they dont. So our Symbols in emix where hidden and not public. This commit defines EAPI with visibility to default.
-rw-r--r--src/lib/emix.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/emix.h b/src/lib/emix.h
index 6d46741..edda217 100644
--- a/src/lib/emix.h
+++ b/src/lib/emix.h
@@ -4,6 +4,21 @@
4#include <Eina.h> 4#include <Eina.h>
5#include <Evas.h> 5#include <Evas.h>
6 6
7#ifdef EAPI
8#undef EAPI
9#endif
10
11#ifdef __GNUC__
12# if __GNUC__ >= 4
13# define EAPI __attribute__ ((visibility("default")))
14# else
15# define EAPI
16# endif
17#else
18# define EAPI
19#endif
20
21
7#define EMIX_VOLUME_MAX 100 22#define EMIX_VOLUME_MAX 100
8 23
9enum Emix_Event { 24enum Emix_Event {
@@ -125,4 +140,8 @@ EAPI void emix_source_volume_set(Emix_Source *source,
125 140
126EAPI Evas_Object* emix_advanced_options_add(Evas_Object *parent); 141EAPI Evas_Object* emix_advanced_options_add(Evas_Object *parent);
127 142
143
144#undef EAPI
145#define EAPI
146
128#endif /* EMIX_H */ 147#endif /* EMIX_H */