summaryrefslogtreecommitdiff
path: root/src/lib/ector
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/ector
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/ector')
-rw-r--r--src/lib/ector/Ector.h8
-rw-r--r--src/lib/ector/cairo/Ector_Cairo.h8
-rw-r--r--src/lib/ector/gl/Ector_GL.h8
-rw-r--r--src/lib/ector/software/Ector_Software.h8
4 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/ector/Ector.h b/src/lib/ector/Ector.h
index b9a2ffd416..e2268f3ad8 100644
--- a/src/lib/ector/Ector.h
+++ b/src/lib/ector/Ector.h
@@ -10,15 +10,15 @@
10#endif 10#endif
11 11
12#ifdef _WIN32 12#ifdef _WIN32
13# ifdef EFL_ECTOR_BUILD 13# ifdef EFL_BUILD
14# ifdef DLL_EXPORT 14# ifdef DLL_EXPORT
15# define EAPI __declspec(dllexport) 15# define EAPI __declspec(dllexport)
16# else 16# else
17# define EAPI 17# define EAPI
18# endif /* ! DLL_EXPORT */ 18# endif
19# else 19# else
20# define EAPI __declspec(dllimport) 20# define EAPI __declspec(dllimport)
21# endif /* ! EFL_EO_BUILD */ 21# endif
22#else 22#else
23# ifdef __GNUC__ 23# ifdef __GNUC__
24# if __GNUC__ >= 4 24# if __GNUC__ >= 4
@@ -29,7 +29,7 @@
29# else 29# else
30# define EAPI 30# define EAPI
31# endif 31# endif
32#endif /* ! _WIN32 */ 32#endif
33 33
34#ifdef __cplusplus 34#ifdef __cplusplus
35extern "C" { 35extern "C" {
diff --git a/src/lib/ector/cairo/Ector_Cairo.h b/src/lib/ector/cairo/Ector_Cairo.h
index b0f0f95a4a..99eeafac9a 100644
--- a/src/lib/ector/cairo/Ector_Cairo.h
+++ b/src/lib/ector/cairo/Ector_Cairo.h
@@ -8,15 +8,15 @@
8#endif 8#endif
9 9
10#ifdef _WIN32 10#ifdef _WIN32
11# ifdef EFL_ECTOR_BUILD 11# ifdef EFL_BUILD
12# ifdef DLL_EXPORT 12# ifdef DLL_EXPORT
13# define EAPI __declspec(dllexport) 13# define EAPI __declspec(dllexport)
14# else 14# else
15# define EAPI 15# define EAPI
16# endif /* ! DLL_EXPORT */ 16# endif
17# else 17# else
18# define EAPI __declspec(dllimport) 18# define EAPI __declspec(dllimport)
19# endif /* ! EFL_EO_BUILD */ 19# endif
20#else 20#else
21# ifdef __GNUC__ 21# ifdef __GNUC__
22# if __GNUC__ >= 4 22# if __GNUC__ >= 4
@@ -27,7 +27,7 @@
27# else 27# else
28# define EAPI 28# define EAPI
29# endif 29# endif
30#endif /* ! _WIN32 */ 30#endif
31 31
32#ifdef EFL_BETA_API_SUPPORT 32#ifdef EFL_BETA_API_SUPPORT
33 33
diff --git a/src/lib/ector/gl/Ector_GL.h b/src/lib/ector/gl/Ector_GL.h
index d382ac25c3..131288a180 100644
--- a/src/lib/ector/gl/Ector_GL.h
+++ b/src/lib/ector/gl/Ector_GL.h
@@ -8,15 +8,15 @@
8#endif 8#endif
9 9
10#ifdef _WIN32 10#ifdef _WIN32
11# ifdef EFL_ECTOR_BUILD 11# ifdef EFL_BUILD
12# ifdef DLL_EXPORT 12# ifdef DLL_EXPORT
13# define EAPI __declspec(dllexport) 13# define EAPI __declspec(dllexport)
14# else 14# else
15# define EAPI 15# define EAPI
16# endif /* ! DLL_EXPORT */ 16# endif
17# else 17# else
18# define EAPI __declspec(dllimport) 18# define EAPI __declspec(dllimport)
19# endif /* ! EFL_EO_BUILD */ 19# endif
20#else 20#else
21# ifdef __GNUC__ 21# ifdef __GNUC__
22# if __GNUC__ >= 4 22# if __GNUC__ >= 4
@@ -27,7 +27,7 @@
27# else 27# else
28# define EAPI 28# define EAPI
29# endif 29# endif
30#endif /* ! _WIN32 */ 30#endif
31 31
32#ifdef EFL_BETA_API_SUPPORT 32#ifdef EFL_BETA_API_SUPPORT
33 33
diff --git a/src/lib/ector/software/Ector_Software.h b/src/lib/ector/software/Ector_Software.h
index 1a43a2955f..2f9192ff30 100644
--- a/src/lib/ector/software/Ector_Software.h
+++ b/src/lib/ector/software/Ector_Software.h
@@ -8,15 +8,15 @@
8#endif 8#endif
9 9
10#ifdef _WIN32 10#ifdef _WIN32
11# ifdef EFL_ECTOR_BUILD 11# ifdef EFL_BUILD
12# ifdef DLL_EXPORT 12# ifdef DLL_EXPORT
13# define EAPI __declspec(dllexport) 13# define EAPI __declspec(dllexport)
14# else 14# else
15# define EAPI 15# define EAPI
16# endif /* ! DLL_EXPORT */ 16# endif
17# else 17# else
18# define EAPI __declspec(dllimport) 18# define EAPI __declspec(dllimport)
19# endif /* ! EFL_EO_BUILD */ 19# endif
20#else 20#else
21# ifdef __GNUC__ 21# ifdef __GNUC__
22# if __GNUC__ >= 4 22# if __GNUC__ >= 4
@@ -27,7 +27,7 @@
27# else 27# else
28# define EAPI 28# define EAPI
29# endif 29# endif
30#endif /* ! _WIN32 */ 30#endif
31 31
32#ifdef EFL_BETA_API_SUPPORT 32#ifdef EFL_BETA_API_SUPPORT
33 33