summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-18 18:04:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-18 18:04:03 +0900
commitf5b01ac5ce3d86c3bcd89c4882a77b1c126ca789 (patch)
treecb39aad3598224652d3117f64328d596678ffdc6 /src/lib/evas/include
parent8a1655a15cb3863165a7dddaa6021953ce9c18ab (diff)
all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_common_private.h8
-rw-r--r--src/lib/evas/include/evas_filter.h8
-rw-r--r--src/lib/evas/include/evas_private.h8
3 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 27332c0c67..6b1e15f25d 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -67,15 +67,15 @@
67#endif 67#endif
68 68
69#ifdef _WIN32 69#ifdef _WIN32
70# ifdef EFL_EVAS_BUILD 70# ifdef EFL_BUILD
71# ifdef DLL_EXPORT 71# ifdef DLL_EXPORT
72# define EAPI __declspec(dllexport) 72# define EAPI __declspec(dllexport)
73# else 73# else
74# define EAPI 74# define EAPI
75# endif /* ! DLL_EXPORT */ 75# endif
76# else 76# else
77# define EAPI __declspec(dllimport) 77# define EAPI __declspec(dllimport)
78# endif /* ! EFL_EVAS_BUILD */ 78# endif
79#else 79#else
80# ifdef __GNUC__ 80# ifdef __GNUC__
81# if __GNUC__ >= 4 81# if __GNUC__ >= 4
@@ -86,7 +86,7 @@
86# else 86# else
87# define EAPI 87# define EAPI
88# endif 88# endif
89#endif /* ! _WIN32 */ 89#endif
90 90
91#ifndef HAVE_LROUND 91#ifndef HAVE_LROUND
92/* right now i dont care about rendering bugs on platforms without lround 92/* right now i dont care about rendering bugs on platforms without lround
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index c6618d35d6..ffbe797a6d 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -11,15 +11,15 @@
11#endif 11#endif
12 12
13#ifdef _WIN32 13#ifdef _WIN32
14# ifdef EFL_EVAS_BUILD 14# ifdef EFL_BUILD
15# ifdef DLL_EXPORT 15# ifdef DLL_EXPORT
16# define EAPI __declspec(dllexport) 16# define EAPI __declspec(dllexport)
17# else 17# else
18# define EAPI 18# define EAPI
19# endif /* ! DLL_EXPORT */ 19# endif
20# else 20# else
21# define EAPI __declspec(dllimport) 21# define EAPI __declspec(dllimport)
22# endif /* ! EFL_EVAS_BUILD */ 22# endif
23#else 23#else
24# ifdef __GNUC__ 24# ifdef __GNUC__
25# if __GNUC__ >= 4 25# if __GNUC__ >= 4
@@ -30,7 +30,7 @@
30# else 30# else
31# define EAPI 31# define EAPI
32# endif 32# endif
33#endif /* ! _WIN32 */ 33#endif
34 34
35#ifdef DEBUG 35#ifdef DEBUG
36# define FILTERS_DEBUG 36# define FILTERS_DEBUG
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 7c43a64295..51d4b953ae 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -23,15 +23,15 @@
23#endif 23#endif
24 24
25#ifdef _WIN32 25#ifdef _WIN32
26# ifdef EFL_EVAS_BUILD 26# ifdef EFL_BUILD
27# ifdef DLL_EXPORT 27# ifdef DLL_EXPORT
28# define EAPI __declspec(dllexport) 28# define EAPI __declspec(dllexport)
29# else 29# else
30# define EAPI 30# define EAPI
31# endif /* ! DLL_EXPORT */ 31# endif
32# else 32# else
33# define EAPI __declspec(dllimport) 33# define EAPI __declspec(dllimport)
34# endif /* ! EFL_EVAS_BUILD */ 34# endif
35#else 35#else
36# ifdef __GNUC__ 36# ifdef __GNUC__
37# if __GNUC__ >= 4 37# if __GNUC__ >= 4
@@ -42,7 +42,7 @@
42# else 42# else
43# define EAPI 43# define EAPI
44# endif 44# endif
45#endif /* ! _WIN32 */ 45#endif
46 46
47/* save typing */ 47/* save typing */
48#define ENFN obj->layer->evas->engine.func 48#define ENFN obj->layer->evas->engine.func