summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2021-04-18 08:21:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2021-04-18 08:21:23 +0200
commit0018f2093fe99a45473a24e464448756bcd755da (patch)
treeb5a24cb7869908bfc77041d1c324b632e0642be8 /src/modules
parent7c16765e1be277ec47698f2b12a6856ea8d2a700 (diff)
fix modules/ecore_evas/engines/wayland compilation
broken after introduction of EMODAPI by a33138 Differential Revision: https://phab.enlightenment.org/D1222
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c18
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h18
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c18
3 files changed, 18 insertions, 36 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
index 5e08c33a7b..e98303c819 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
@@ -5,24 +5,6 @@
5# include <string.h> 5# include <string.h>
6# include <unistd.h> 6# include <unistd.h>
7 7
8#ifdef _WIN32
9# ifndef EFL_MODULE_STATIC
10# define EMODAPI __declspec(dllexport)
11# else
12# define EMODAPI
13# endif
14#else
15# ifdef __GNUC__
16# if __GNUC__ >= 4
17# define EMODAPI __attribute__ ((visibility("default")))
18# endif
19# endif
20#endif /* ! _WIN32 */
21
22#ifndef EMODAPI
23# define EMODAPI
24#endif
25
26/* external functions */ 8/* external functions */
27EMODAPI Ecore_Evas * 9EMODAPI Ecore_Evas *
28ecore_evas_wayland_egl_new_internal(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame, const int *opt) 10ecore_evas_wayland_egl_new_internal(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame, const int *opt)
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
index 8213dc2b32..42e6a6baed 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
@@ -32,6 +32,24 @@
32# include "ecore_evas_private.h" 32# include "ecore_evas_private.h"
33# include "ecore_evas_wayland.h" 33# include "ecore_evas_wayland.h"
34 34
35#ifdef _WIN32
36# ifndef EFL_MODULE_STATIC
37# define EMODAPI __declspec(dllexport)
38# else
39# define EMODAPI
40# endif
41#else
42# ifdef __GNUC__
43# if __GNUC__ >= 4
44# define EMODAPI __attribute__ ((visibility("default")))
45# endif
46# endif
47#endif /* ! _WIN32 */
48
49#ifndef EMODAPI
50# define EMODAPI
51#endif
52
35typedef struct _Ecore_Evas_Engine_Wl_Data Ecore_Evas_Engine_Wl_Data; 53typedef struct _Ecore_Evas_Engine_Wl_Data Ecore_Evas_Engine_Wl_Data;
36 54
37typedef struct _Ecore_Evas_Wl_Selection_Data Ecore_Evas_Wl_Selection_Data; 55typedef struct _Ecore_Evas_Wl_Selection_Data Ecore_Evas_Wl_Selection_Data;
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 6db7403cc0..74db8e8e69 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -5,24 +5,6 @@
5# include <string.h> 5# include <string.h>
6# include <unistd.h> 6# include <unistd.h>
7 7
8#ifdef _WIN32
9# ifndef EFL_MODULE_STATIC
10# define EMODAPI __declspec(dllexport)
11# else
12# define EMODAPI
13# endif
14#else
15# ifdef __GNUC__
16# if __GNUC__ >= 4
17# define EMODAPI __attribute__ ((visibility("default")))
18# endif
19# endif
20#endif /* ! _WIN32 */
21
22#ifndef EMODAPI
23# define EMODAPI
24#endif
25
26/* external functions */ 8/* external functions */
27EMODAPI Ecore_Evas * 9EMODAPI Ecore_Evas *
28ecore_evas_wayland_shm_new_internal(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame) 10ecore_evas_wayland_shm_new_internal(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame)