summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_ector_software.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/modules/evas/engines/software_generic/evas_ector_software.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/modules/evas/engines/software_generic/evas_ector_software.h')
-rw-r--r--src/modules/evas/engines/software_generic/evas_ector_software.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_ector_software.h b/src/modules/evas/engines/software_generic/evas_ector_software.h
index 5d10143cc4..4b2385cc3a 100644
--- a/src/modules/evas/engines/software_generic/evas_ector_software.h
+++ b/src/modules/evas/engines/software_generic/evas_ector_software.h
@@ -1,18 +1,20 @@
1#ifndef EVAS_ECTOR_GL_H 1#ifndef EVAS_ECTOR_GL_H
2#define EVAS_ECTOR_GL_H 2#define EVAS_ECTOR_GL_H
3 3
4#undef EAPI 4#ifdef EAPI
5# undef EAPI
6#endif
5 7
6#ifdef _WIN32 8#ifdef _WIN32
7# ifdef EFL_EVAS_BUILD 9# ifdef EFL_BUILD
8# ifdef DLL_EXPORT 10# ifdef DLL_EXPORT
9# define EAPI __declspec(dllexport) 11# define EAPI __declspec(dllexport)
10# else 12# else
11# define EAPI 13# define EAPI
12# endif /* ! DLL_EXPORT */ 14# endif
13# else 15# else
14# define EAPI __declspec(dllimport) 16# define EAPI __declspec(dllimport)
15# endif /* ! EFL_EVAS_BUILD */ 17# endif
16#else 18#else
17# ifdef __GNUC__ 19# ifdef __GNUC__
18# if __GNUC__ >= 4 20# if __GNUC__ >= 4
@@ -23,7 +25,7 @@
23# else 25# else
24# define EAPI 26# define EAPI
25# endif 27# endif
26#endif /* ! _WIN32 */ 28#endif
27 29
28#include "evas_ector_buffer.eo.h" 30#include "evas_ector_buffer.eo.h"
29#include "evas_ector_software_buffer.eo.h" 31#include "evas_ector_software_buffer.eo.h"