summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_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_private.h
parent7b52ecc9b9ae2f37d8771060e12f1d1f1e165265 (diff)
evas: remove the need to order the header correctly for Windows.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/include/evas_private.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 427a71de0d..7d9303c802 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -15,6 +15,32 @@
15 15
16#include "evas_3d_utils.h" 16#include "evas_3d_utils.h"
17 17
18#ifdef EAPI
19# undef EAPI
20#endif
21
22#ifdef _WIN32
23# ifdef EFL_EVAS_BUILD
24# ifdef DLL_EXPORT
25# define EAPI __declspec(dllexport)
26# else
27# define EAPI
28# endif /* ! DLL_EXPORT */
29# else
30# define EAPI __declspec(dllimport)
31# endif /* ! EFL_EVAS_BUILD */
32#else
33# ifdef __GNUC__
34# if __GNUC__ >= 4
35# define EAPI __attribute__ ((visibility("default")))
36# else
37# define EAPI
38# endif
39# else
40# define EAPI
41# endif
42#endif /* ! _WIN32 */
43
18#define RENDER_METHOD_INVALID 0x00000000 44#define RENDER_METHOD_INVALID 0x00000000
19 45
20//#define REND_DBG 1 46//#define REND_DBG 1