summaryrefslogtreecommitdiff
path: root/src/lib/elementary/Elementary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/Elementary.h')
-rw-r--r--src/lib/elementary/Elementary.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/Elementary.h b/src/lib/elementary/Elementary.h
index bf41fde..3913084 100644
--- a/src/lib/elementary/Elementary.h
+++ b/src/lib/elementary/Elementary.h
@@ -85,6 +85,7 @@
85#endif 85#endif
86 86
87#ifdef _WIN32 87#ifdef _WIN32
88# define EAPI_MAIN
88# ifdef ELEMENTARY_BUILD 89# ifdef ELEMENTARY_BUILD
89# ifdef DLL_EXPORT 90# ifdef DLL_EXPORT
90# define EAPI __declspec(dllexport) 91# define EAPI __declspec(dllexport)
@@ -98,11 +99,14 @@
98# ifdef __GNUC__ 99# ifdef __GNUC__
99# if __GNUC__ >= 4 100# if __GNUC__ >= 4
100# define EAPI __attribute__ ((visibility("default"))) 101# define EAPI __attribute__ ((visibility("default")))
102# define EAPI_MAIN __attribute__ ((visibility("default")))
101# else 103# else
102# define EAPI 104# define EAPI
105# define EAPI_MAIN
103# endif 106# endif
104# else 107# else
105# define EAPI 108# define EAPI
109# define EAPI_MAIN
106# endif 110# endif
107#endif /* ! _WIN32 */ 111#endif /* ! _WIN32 */
108 112