summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-12-12 20:44:26 +1100
committerTimothy Arceri <[email protected]>2014-12-17 08:37:35 +1100
commit0936d42d52ebe07b2aed3dd2774e7275ffe03e02 (patch)
tree1a298c9b06e17b875ca600b60a9149047c90f9ef /src/mesa/main/compiler.h
parentbf37433f8c0fe14b92758f5f35449e35f3a38f9c (diff)
mesa: remove support for GCC older than 4.1.0
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-By: Jose Fonseca <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h2
1 files changed, 1 insertions, 1 deletions
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