diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2018-01-03 06:23:10 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2018-01-04 12:59:47 -0800 |
commit | 4ae6eeb2cffa68336beedaeacf8874c93f15feda (patch) | |
tree | 9c212d00728a35922c468725a382cd6c0fb40d63 /src/lib/ecore_drm2/Ecore_Drm2.h | |
parent | 6c42801bac1343629ded606e6960bb656ec86ff8 (diff) |
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_drm2/Ecore_Drm2.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h index 19f00cf929..bede4e5406 100644 --- a/src/lib/ecore_drm2/Ecore_Drm2.h +++ b/src/lib/ecore_drm2/Ecore_Drm2.h | |||
@@ -7,23 +7,15 @@ | |||
7 | # undef EAPI | 7 | # undef EAPI |
8 | # endif | 8 | # endif |
9 | 9 | ||
10 | # ifdef _MSC_VER | 10 | # ifdef __GNUC__ |
11 | # ifdef BUILDING_DLL | 11 | # if __GNUC__ >= 4 |
12 | # define EAPI __declspec(dllexport) | 12 | # define EAPI __attribute__ ((visibility("default"))) |
13 | # else // ifdef BUILDING_DLL | 13 | # else // if __GNUC__ >= 4 |
14 | # define EAPI __declspec(dllimport) | ||
15 | # endif // ifdef BUILDING_DLL | ||
16 | # else // ifdef _MSC_VER | ||
17 | # ifdef __GNUC__ | ||
18 | # if __GNUC__ >= 4 | ||
19 | # define EAPI __attribute__ ((visibility("default"))) | ||
20 | # else // if __GNUC__ >= 4 | ||
21 | # define EAPI | ||
22 | # endif // if __GNUC__ >= 4 | ||
23 | # else // ifdef __GNUC__ | ||
24 | # define EAPI | 14 | # define EAPI |
25 | # endif // ifdef __GNUC__ | 15 | # endif // if __GNUC__ >= 4 |
26 | # endif // ifdef _MSC_VER | 16 | # else // ifdef __GNUC__ |
17 | # define EAPI | ||
18 | # endif // ifdef __GNUC__ | ||
27 | 19 | ||
28 | # ifdef EFL_BETA_API_SUPPORT | 20 | # ifdef EFL_BETA_API_SUPPORT |
29 | 21 | ||