summaryrefslogtreecommitdiff
path: root/src/lib/embryo
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/embryo
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/embryo')
-rw-r--r--src/lib/embryo/Embryo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/embryo/Embryo.h b/src/lib/embryo/Embryo.h
index fc358ef6e6..51d626b362 100644
--- a/src/lib/embryo/Embryo.h
+++ b/src/lib/embryo/Embryo.h
@@ -343,15 +343,15 @@ This is the @e only file you need to include.
343#endif 343#endif
344 344
345#ifdef _WIN32 345#ifdef _WIN32
346# ifdef EFL_EMBRYO_BUILD 346# ifdef EFL_BUILD
347# ifdef DLL_EXPORT 347# ifdef DLL_EXPORT
348# define EAPI __declspec(dllexport) 348# define EAPI __declspec(dllexport)
349# else 349# else
350# define EAPI 350# define EAPI
351# endif /* ! DLL_EXPORT */ 351# endif
352# else 352# else
353# define EAPI __declspec(dllimport) 353# define EAPI __declspec(dllimport)
354# endif /* ! EFL_EMBRYO_BUILD */ 354# endif
355#else 355#else
356# ifdef __GNUC__ 356# ifdef __GNUC__
357# if __GNUC__ >= 4 357# if __GNUC__ >= 4
@@ -362,7 +362,7 @@ This is the @e only file you need to include.
362# else 362# else
363# define EAPI 363# define EAPI
364# endif 364# endif
365#endif /* ! _WIN32 */ 365#endif
366 366
367#ifdef __cplusplus 367#ifdef __cplusplus
368extern "C" { 368extern "C" {