From: Timothy Arceri Date: Fri, 12 Dec 2014 09:44:26 +0000 (+1100) Subject: mesa: remove support for GCC older than 4.1.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0936d42d52ebe07b2aed3dd2774e7275ffe03e02;p=mesa.git mesa: remove support for GCC older than 4.1.0 Signed-off-by: Timothy Arceri Reviewed-By: Jose Fonseca Reviewed-by: Ian Romanick Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 34671dc7eb0..cdc843db2ba 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -122,7 +122,7 @@ extern "C" { * inline a static function that we later use in an alias. - ajax */ #ifndef PUBLIC -# if (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) # define PUBLIC __attribute__((visibility("default"))) # define USED __attribute__((used)) # else