summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_cache_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 15:12:03 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commit0b4a911450343896f8c9c7452e6bb6971acf7780 (patch)
treed1cea9f3d59ec0bf9187253c764388bf8c4f6e80 /src/lib/efreet/efreet_cache_private.h
parent04d290c35022b9add5ef8de9cd22fdf7dd69d930 (diff)
efreet: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/lib/efreet/efreet_cache_private.h')
-rw-r--r--src/lib/efreet/efreet_cache_private.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_cache_private.h b/src/lib/efreet/efreet_cache_private.h
index af178baaad..79dbfa0c24 100644
--- a/src/lib/efreet/efreet_cache_private.h
+++ b/src/lib/efreet/efreet_cache_private.h
@@ -12,6 +12,32 @@
12#define EFREET_CACHE_VERSION "__efreet//version" 12#define EFREET_CACHE_VERSION "__efreet//version"
13#define EFREET_CACHE_ICON_FALLBACK "__efreet_fallback" 13#define EFREET_CACHE_ICON_FALLBACK "__efreet_fallback"
14 14
15#ifdef EAPI
16# undef EAPI
17#endif
18
19#ifdef _WIN32
20# ifdef EFL_EFREET_BUILD
21# ifdef DLL_EXPORT
22# define EAPI __declspec(dllexport)
23# else
24# define EAPI
25# endif /* ! DLL_EXPORT */
26# else
27# define EAPI __declspec(dllimport)
28# endif /* ! EFL_EFREET_BUILD */
29#else
30# ifdef __GNUC__
31# if __GNUC__ >= 4
32# define EAPI __attribute__ ((visibility("default")))
33# else
34# define EAPI
35# endif
36# else
37# define EAPI
38# endif
39#endif
40
15EAPI const char *efreet_desktop_util_cache_file(void); 41EAPI const char *efreet_desktop_util_cache_file(void);
16EAPI const char *efreet_desktop_cache_file(void); 42EAPI const char *efreet_desktop_cache_file(void);
17EAPI const char *efreet_icon_cache_file(const char *theme); 43EAPI const char *efreet_icon_cache_file(const char *theme);
@@ -57,4 +83,7 @@ struct _Efreet_Cache_Desktop
57 double check_time; /**< Last time we check for disk modification */ 83 double check_time; /**< Last time we check for disk modification */
58}; 84};
59 85
86#undef EAPI
87#define EAPI
88
60#endif 89#endif