summaryrefslogtreecommitdiff
path: root/src/benchmarks
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/benchmarks
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/benchmarks')
-rw-r--r--src/benchmarks/eina/Ecore_Data.h8
-rw-r--r--src/benchmarks/eina/Evas_Data.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/benchmarks/eina/Ecore_Data.h b/src/benchmarks/eina/Ecore_Data.h
index e2ea607..6641eff 100644
--- a/src/benchmarks/eina/Ecore_Data.h
+++ b/src/benchmarks/eina/Ecore_Data.h
@@ -10,15 +10,15 @@
10#endif 10#endif
11 11
12#ifdef _WIN32 12#ifdef _WIN32
13# ifdef EFL_ECORE_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_ECORE_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/** 34/**
35 * @file Ecore_Data.h 35 * @file Ecore_Data.h
diff --git a/src/benchmarks/eina/Evas_Data.h b/src/benchmarks/eina/Evas_Data.h
index 9784892..2c07402 100644
--- a/src/benchmarks/eina/Evas_Data.h
+++ b/src/benchmarks/eina/Evas_Data.h
@@ -6,15 +6,15 @@
6#endif 6#endif
7 7
8#ifdef _WIN32 8#ifdef _WIN32
9# ifdef EFL_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_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/** 30/**
31 * @file 31 * @file