summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
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/ecore_evas
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/ecore_evas')
-rw-r--r--src/lib/ecore_evas/Ecore_Evas.h8
-rw-r--r--src/lib/ecore_evas/ecore_evas_private.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index 4063b7655e..1039007b71 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -9,15 +9,15 @@
9#endif 9#endif
10 10
11#ifdef _WIN32 11#ifdef _WIN32
12# ifdef EFL_ECORE_EVAS_BUILD 12# ifdef EFL_BUILD
13# ifdef DLL_EXPORT 13# ifdef DLL_EXPORT
14# define EAPI __declspec(dllexport) 14# define EAPI __declspec(dllexport)
15# else 15# else
16# define EAPI 16# define EAPI
17# endif /* ! DLL_EXPORT */ 17# endif
18# else 18# else
19# define EAPI __declspec(dllimport) 19# define EAPI __declspec(dllimport)
20# endif /* ! EFL_ECORE_EVAS_BUILD */ 20# endif
21#else 21#else
22# ifdef __GNUC__ 22# ifdef __GNUC__
23# if __GNUC__ >= 4 23# if __GNUC__ >= 4
@@ -28,7 +28,7 @@
28# else 28# else
29# define EAPI 29# define EAPI
30# endif 30# endif
31#endif /* ! _WIN32 */ 31#endif
32 32
33/** 33/**
34 * @file Ecore_Evas.h 34 * @file Ecore_Evas.h
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index 13002402a4..14cfae791d 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -6,15 +6,15 @@
6#endif 6#endif
7 7
8#ifdef _WIN32 8#ifdef _WIN32
9# ifdef EFL_ECORE_EVAS_BUILD 9# ifdef EFL_BUILD
10# ifdef DLL_EXPORT 10# ifdef DLL_EXPORT
11# define EAPI __declspec(dllexport) 11# define EAPI __declspec(dllexport)
12# else 12# else
13# define EAPI 13# define EAPI
14# endif /* ! DLL_EXPORT */ 14# endif
15# else 15# else
16# define EAPI __declspec(dllimport) 16# define EAPI __declspec(dllimport)
17# endif /* ! EFL_ECORE_EVAS_BUILD */ 17# endif
18#else 18#else
19# ifdef __GNUC__ 19# ifdef __GNUC__
20# if __GNUC__ >= 4 20# if __GNUC__ >= 4
@@ -25,7 +25,7 @@
25# else 25# else
26# define EAPI 26# define EAPI
27# endif 27# endif
28#endif /* ! _WIN32 */ 28#endif
29 29
30#define ECORE_MAGIC_EVAS 0x76543211 30#define ECORE_MAGIC_EVAS 0x76543211
31 31