summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
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_drm
parent6c42801bac1343629ded606e6960bb656ec86ff8 (diff)
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index c70e04e..ad60ca3 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -12,23 +12,15 @@
12# undef EAPI 12# undef EAPI
13# endif 13# endif
14 14
15# ifdef _MSC_VER 15# ifdef __GNUC__
16# ifdef BUILDING_DLL 16# if __GNUC__ >= 4
17# define EAPI __declspec(dllexport) 17# define EAPI __attribute__ ((visibility("default")))
18# else // ifdef BUILDING_DLL 18# else // if __GNUC__ >= 4
19# define EAPI __declspec(dllimport)
20# endif // ifdef BUILDING_DLL
21# else // ifdef _MSC_VER
22# ifdef __GNUC__
23# if __GNUC__ >= 4
24# define EAPI __attribute__ ((visibility("default")))
25# else // if __GNUC__ >= 4
26# define EAPI
27# endif // if __GNUC__ >= 4
28# else // ifdef __GNUC__
29# define EAPI 19# define EAPI
30# endif // ifdef __GNUC__ 20# endif // if __GNUC__ >= 4
31# endif // ifdef _MSC_VER 21# else // ifdef __GNUC__
22# define EAPI
23# endif // ifdef __GNUC__
32 24
33# warning The Ecore_Drm library has been deprecated. Please use the Ecore_Drm2 library 25# warning The Ecore_Drm library has been deprecated. Please use the Ecore_Drm2 library
34 26