Mesa (master): egl: remove support for GCC older than 4.1.0

Timothy Arceri tarceri at kemper.freedesktop.org
Tue Dec 16 21:38:11 UTC 2014


Module: Mesa
Branch: master
Commit: 8d0c641603e4115c99b21faf9ad24333fb626bea
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d0c641603e4115c99b21faf9ad24333fb626bea

Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date:   Fri Dec 12 20:27:44 2014 +1100

egl: remove support for GCC older than 4.1.0

Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
Reviewed-By: Jose Fonseca <jfonseca at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 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




More information about the mesa-commit mailing list