summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-05-15 18:22:17 +0200
committerFlavio Ceolin <flavio.ceolin@gmail.com>2015-05-22 22:11:49 -0300
commit1f504a392f7439e7c0a7feb43882c0ef1619a86d (patch)
treef10b2460f04c79c9afbcf38acc501eaf55d69a49
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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/emix.h b/src/lib/emix.h
index 6d46741..ec91e40 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 {