diff options
Diffstat (limited to 'src/egl/wayland/wayland-egl/wayland-egl.c')
-rw-r--r-- | src/egl/wayland/wayland-egl/wayland-egl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/wayland/wayland-egl/wayland-egl.c index e5a26ffad27..4501c6dc956 100644 --- a/src/egl/wayland/wayland-egl/wayland-egl.c +++ b/src/egl/wayland/wayland-egl/wayland-egl.c @@ -33,6 +33,13 @@ #include "wayland-egl.h" #include "wayland-egl-backend.h" +/* GCC visibility */ +#if defined(__GNUC__) +#define WL_EGL_EXPORT __attribute__ ((visibility("default"))) +#else +#define WL_EGL_EXPORT +#endif + WL_EGL_EXPORT void wl_egl_window_resize(struct wl_egl_window *egl_window, int width, int height, |