summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_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_private.h
parent04d290c35022b9add5ef8de9cd22fdf7dd69d930 (diff)
efreet: remove the need to order the header correctly for Windows.
Diffstat (limited to '')
-rw-r--r--src/lib/efreet/efreet_private.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_private.h b/src/lib/efreet/efreet_private.h
index 21f75173be..9455485f2f 100644
--- a/src/lib/efreet/efreet_private.h
+++ b/src/lib/efreet/efreet_private.h
@@ -1,6 +1,32 @@
1#ifndef EFREET_PRIVATE_H 1#ifndef EFREET_PRIVATE_H
2#define EFREET_PRIVATE_H 2#define EFREET_PRIVATE_H
3 3
4#ifdef EAPI
5# undef EAPI
6#endif
7
8#ifdef _WIN32
9# ifdef EFL_EFREET_BUILD
10# ifdef DLL_EXPORT
11# define EAPI __declspec(dllexport)
12# else
13# define EAPI
14# endif /* ! DLL_EXPORT */
15# else
16# define EAPI __declspec(dllimport)
17# endif /* ! EFL_EFREET_BUILD */
18#else
19# ifdef __GNUC__
20# if __GNUC__ >= 4
21# define EAPI __attribute__ ((visibility("default")))
22# else
23# define EAPI
24# endif
25# else
26# define EAPI
27# endif
28#endif
29
4#ifdef ENABLE_NLS 30#ifdef ENABLE_NLS
5# include <libintl.h> 31# include <libintl.h>
6# define _(str) dgettext(PACKAGE, str) 32# define _(str) dgettext(PACKAGE, str)
@@ -224,6 +250,9 @@ EAPI void efreet_fsetowner(int fd);
224 250
225EAPI extern int efreet_cache_update; 251EAPI extern int efreet_cache_update;
226 252
253#undef EAPI
254#define EAPI
255
227/** 256/**
228 * @} 257 * @}
229 */ 258 */