summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/common.h16
-rw-r--r--src/bin/main.c2
2 files changed, 16 insertions, 2 deletions
diff --git a/src/bin/common.h b/src/bin/common.h
index 4a399f9..74771e9 100644
--- a/src/bin/common.h
+++ b/src/bin/common.h
@@ -5,6 +5,20 @@
5#define _GNU_SOURCE 5#define _GNU_SOURCE
6#endif 6#endif
7 7
8#ifdef E_API
9#undef E_API
10#endif
11
12#ifdef __GNUC__
13# if __GNUC__ >= 4
14# define E_API __attribute__ ((visibility("default")))
15# else
16# define E_API
17# endif
18#else
19# define E_API
20#endif
21
8#include <Ecore.h> 22#include <Ecore.h>
9#include <Elementary.h> 23#include <Elementary.h>
10 24
@@ -17,7 +31,7 @@
17#define BASE_VOLUME_STEP 10 31#define BASE_VOLUME_STEP 10
18#define EMIXER_THEME PACKAGE_DATA_DIR"/data/themes/default.edj" 32#define EMIXER_THEME PACKAGE_DATA_DIR"/data/themes/default.edj"
19 33
20EAPI extern int _log_domain; 34E_API extern int _log_domain;
21 35
22#define CRIT(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__) 36#define CRIT(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__)
23#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__) 37#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
diff --git a/src/bin/main.c b/src/bin/main.c
index 179444c..e38e5a3 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -5,7 +5,7 @@
5#define DEFAULT_HEIGHT 600 5#define DEFAULT_HEIGHT 600
6#define DEFAULT_WIDTH 800 6#define DEFAULT_WIDTH 800
7 7
8EAPI int 8E_API int
9elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED) 9elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
10{ 10{
11 Evas_Object *win; 11 Evas_Object *win;