summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/Efreet_Mime.h
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2007-11-04 11:19:55 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2007-11-04 11:19:55 +0000
commit3070ebe721d5d96984b94576b04cd6f8cb412cfc (patch)
tree62791abf4f6404155a710b6e2956e8d00b6e8117 /legacy/efreet/src/lib/Efreet_Mime.h
parentc4a6c0dea6a833c19565d2d0a4df23521f71adc8 (diff)
define EAPI
SVN revision: 32347
Diffstat (limited to 'legacy/efreet/src/lib/Efreet_Mime.h')
-rw-r--r--legacy/efreet/src/lib/Efreet_Mime.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/legacy/efreet/src/lib/Efreet_Mime.h b/legacy/efreet/src/lib/Efreet_Mime.h
index 5bc3141..52d7d12 100644
--- a/legacy/efreet/src/lib/Efreet_Mime.h
+++ b/legacy/efreet/src/lib/Efreet_Mime.h
@@ -18,6 +18,27 @@
18 * Freedesktop.org Shared Mime Info standard. 18 * Freedesktop.org Shared Mime Info standard.
19 */ 19 */
20 20
21#ifdef EAPI
22#undef EAPI
23#endif
24#ifdef _MSC_VER
25# ifdef BUILDING_DLL
26# define EAPI __declspec(dllexport)
27# else
28# define EAPI __declspec(dllimport)
29# endif
30#else
31# ifdef __GNUC__
32# if __GNUC__ >= 4
33# define EAPI __attribute__ ((visibility("default")))
34# else
35# define EAPI
36# endif
37# else
38# define EAPI
39# endif
40#endif
41
21#ifdef __cplusplus 42#ifdef __cplusplus
22extern "C" { 43extern "C" {
23#endif 44#endif