[Mesa-dev] [RFC 3/8] egl: remove support for GCC older than 4.1.0

Timothy Arceri t_arceri at yahoo.com.au
Fri Dec 12 03:46:21 PST 2014


Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
 src/egl/wayland/wayland-egl/wayland-egl-priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/wayland/wayland-egl/wayland-egl-priv.h b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
index da25be9..74a1552 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl-priv.h
+++ b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
@@ -6,7 +6,7 @@ extern "C" {
 #endif
 
 /* GCC visibility */
-#if defined(__GNUC__) && __GNUC__ >= 4
+#if defined(__GNUC__)
 #define WL_EGL_EXPORT __attribute__ ((visibility("default")))
 #else
 #define WL_EGL_EXPORT
-- 
2.1.0



More information about the mesa-dev mailing list