forked from enlightenment/efl
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:
parent
7c16765e1b
commit
0018f2093f
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue