egl: remove support for GCC older than 4.1.0
authorTimothy Arceri <t_arceri@yahoo.com.au>
Fri, 12 Dec 2014 09:27:44 +0000 (20:27 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 16 Dec 2014 21:37:17 +0000 (08:37 +1100)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/egl/wayland/wayland-egl/wayland-egl-priv.h

index da25be9f710e4abd2a15150fec85c140c5cc7541..74a155202beb96a93a8746d6c527f28c7f7e18cf 100644 (file)
@@ -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