aboutsummaryrefslogtreecommitdiffstats
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
parentwidget: Remove comment (diff)
downloadefl-f5b01ac5ce3d86c3bcd89c4882a77b1c126ca789.tar.gz
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 e2ea607d16..6641eff267 100644
--- a/src/benchmarks/eina/Ecore_Data.h
+++ b/src/benchmarks/eina/Ecore_Data.h
@@ -10,15 +10,15 @@
#endif
#ifdef _WIN32
-# ifdef EFL_ECORE_BUILD
+# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
-# endif /* ! DLL_EXPORT */
+# endif
# else
# define EAPI __declspec(dllimport)
-# endif /* ! EFL_ECORE_BUILD */
+# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
@@ -29,7 +29,7 @@
# else
# define EAPI
# endif
-#endif /* ! _WIN32 */
+#endif
/**
* @file Ecore_Data.h
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 @@
#endif
#ifdef _WIN32
-# ifdef EFL_EVAS_BUILD
+# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
-# endif /* ! DLL_EXPORT */
+# endif
# else
# define EAPI __declspec(dllimport)
-# endif /* ! EFL_EVAS_BUILD */
+# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
@@ -25,7 +25,7 @@
# else
# define EAPI
# endif
-#endif /* ! _WIN32 */
+#endif
/**
* @file