summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-03 06:23:10 +0100
committerCedric BAIL <cedric@osg.samsung.com>2018-01-04 12:59:47 -0800
commit4ae6eeb2cffa68336beedaeacf8874c93f15feda (patch)
tree9c212d00728a35922c468725a382cd6c0fb40d63 /src/lib/ecore_x
parent6c42801bac1343629ded606e6960bb656ec86ff8 (diff)
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Diffstat (limited to 'src/lib/ecore_x')
-rw-r--r--src/lib/ecore_x/Ecore_X.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index 03e3dec..3a6afa1 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -8,23 +8,15 @@
8# undef EAPI 8# undef EAPI
9#endif // ifdef EAPI 9#endif // ifdef EAPI
10 10
11#ifdef _MSC_VER 11#ifdef __GNUC__
12# ifdef BUILDING_DLL 12# if __GNUC__ >= 4
13# define EAPI __declspec(dllexport) 13# define EAPI __attribute__ ((visibility("default")))
14# else // ifdef BUILDING_DLL 14# else // if __GNUC__ >= 4
15# define EAPI __declspec(dllimport)
16# endif // ifdef BUILDING_DLL
17#else // ifdef _MSC_VER
18# ifdef __GNUC__
19# if __GNUC__ >= 4
20# define EAPI __attribute__ ((visibility("default")))
21# else // if __GNUC__ >= 4
22# define EAPI
23# endif // if __GNUC__ >= 4
24# else // ifdef __GNUC__
25# define EAPI 15# define EAPI
26# endif // ifdef __GNUC__ 16# endif // if __GNUC__ >= 4
27#endif // ifdef _MSC_VER 17#else // ifdef __GNUC__
18# define EAPI
19#endif // ifdef __GNUC__
28 20
29#define ECORE_X_VERSION_MAJOR EFL_VERSION_MAJOR 21#define ECORE_X_VERSION_MAJOR EFL_VERSION_MAJOR
30#define ECORE_X_VERSION_MINOR EFL_VERSION_MINOR 22#define ECORE_X_VERSION_MINOR EFL_VERSION_MINOR