fix modules/ecore_evas/engines/wayland compilation

broken after introduction of EMODAPI by a33138
Differential Revision: https://phab.enlightenment.org/D1222
This commit is contained in:
Jérémy Zurcher 2021-04-18 08:21:23 +02:00
parent 7c16765e1b
commit 0018f2093f
3 changed files with 18 additions and 36 deletions

View File

@ -5,24 +5,6 @@
# include <string.h>
# include <unistd.h>
#ifdef _WIN32
# ifndef EFL_MODULE_STATIC
# define EMODAPI __declspec(dllexport)
# else
# define EMODAPI
# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EMODAPI __attribute__ ((visibility("default")))
# endif
# endif
#endif /* ! _WIN32 */
#ifndef EMODAPI
# define EMODAPI
#endif
/* external functions */
EMODAPI Ecore_Evas *
ecore_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)

View File

@ -32,6 +32,24 @@
# include "ecore_evas_private.h"
# include "ecore_evas_wayland.h"
#ifdef _WIN32
# ifndef EFL_MODULE_STATIC
# define EMODAPI __declspec(dllexport)
# else
# define EMODAPI
# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EMODAPI __attribute__ ((visibility("default")))
# endif
# endif
#endif /* ! _WIN32 */
#ifndef EMODAPI
# define EMODAPI
#endif
typedef struct _Ecore_Evas_Engine_Wl_Data Ecore_Evas_Engine_Wl_Data;
typedef struct _Ecore_Evas_Wl_Selection_Data Ecore_Evas_Wl_Selection_Data;

View File

@ -5,24 +5,6 @@
# include <string.h>
# include <unistd.h>
#ifdef _WIN32
# ifndef EFL_MODULE_STATIC
# define EMODAPI __declspec(dllexport)
# else
# define EMODAPI
# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EMODAPI __attribute__ ((visibility("default")))
# endif
# endif
#endif /* ! _WIN32 */
#ifndef EMODAPI
# define EMODAPI
#endif
/* external functions */
EMODAPI Ecore_Evas *
ecore_evas_wayland_shm_new_internal(const char *disp_name, Ecore_Window parent, int x, int y, int w, int h, Eina_Bool frame)