summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.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/lib/evas/include/evas_common_private.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 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 27332c0c67..6b1e15f25d 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -67,15 +67,15 @@
67#endif 67#endif
68 68
69#ifdef _WIN32 69#ifdef _WIN32
70# ifdef EFL_EVAS_BUILD 70# ifdef EFL_BUILD
71# ifdef DLL_EXPORT 71# ifdef DLL_EXPORT
72# define EAPI __declspec(dllexport) 72# define EAPI __declspec(dllexport)
73# else 73# else
74# define EAPI 74# define EAPI
75# endif /* ! DLL_EXPORT */ 75# endif
76# else 76# else
77# define EAPI __declspec(dllimport) 77# define EAPI __declspec(dllimport)
78# endif /* ! EFL_EVAS_BUILD */ 78# endif
79#else 79#else
80# ifdef __GNUC__ 80# ifdef __GNUC__
81# if __GNUC__ >= 4 81# if __GNUC__ >= 4
@@ -86,7 +86,7 @@
86# else 86# else
87# define EAPI 87# define EAPI
88# endif 88# endif
89#endif /* ! _WIN32 */ 89#endif
90 90
91#ifndef HAVE_LROUND 91#ifndef HAVE_LROUND
92/* right now i dont care about rendering bugs on platforms without lround 92/* right now i dont care about rendering bugs on platforms without lround