summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina/Evas_Data.h
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/eina/Evas_Data.h
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 '')
-rw-r--r--src/benchmarks/eina/Evas_Data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/benchmarks/eina/Evas_Data.h b/src/benchmarks/eina/Evas_Data.h
index 97848927b0..2c07402b65 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