summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 14:24:11 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commit71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (patch)
tree4a6b8a01e76fec5797ff183ea556c229cfdc520d /src/lib/evas/include/evas_common_private.h
parent7b52ecc9b9ae2f37d8771060e12f1d1f1e165265 (diff)
evas: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 6b4cf5e623..17a08bdd20 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -57,6 +57,32 @@
57#include "Evas.h" 57#include "Evas.h"
58//#include "Evas_GL.h" 58//#include "Evas_GL.h"
59 59
60#ifdef EAPI
61# undef EAPI
62#endif
63
64#ifdef _WIN32
65# ifdef EFL_EVAS_BUILD
66# ifdef DLL_EXPORT
67# define EAPI __declspec(dllexport)
68# else
69# define EAPI
70# endif /* ! DLL_EXPORT */
71# else
72# define EAPI __declspec(dllimport)
73# endif /* ! EFL_EVAS_BUILD */
74#else
75# ifdef __GNUC__
76# if __GNUC__ >= 4
77# define EAPI __attribute__ ((visibility("default")))
78# else
79# define EAPI
80# endif
81# else
82# define EAPI
83# endif
84#endif /* ! _WIN32 */
85
60#ifndef HAVE_LROUND 86#ifndef HAVE_LROUND
61/* right now i dont care about rendering bugs on platforms without lround 87/* right now i dont care about rendering bugs on platforms without lround
62 (e.g. windows/vc++... yay!) 88 (e.g. windows/vc++... yay!)
@@ -1317,6 +1343,9 @@ void evas_common_rgba_image_scalecache_item_unref(Image_Entry *ie);
1317 1343
1318/*****************************************************************************/ 1344/*****************************************************************************/
1319 1345
1346#undef EAPI
1347#define EAPI
1348
1320#ifdef __cplusplus 1349#ifdef __cplusplus
1321} 1350}
1322#endif 1351#endif