Mesa (master): mesa: 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: 0936d42d52ebe07b2aed3dd2774e7275ffe03e02
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0936d42d52ebe07b2aed3dd2774e7275ffe03e02
Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date: Fri Dec 12 20:44:26 2014 +1100
mesa: 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/mesa/main/compiler.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 34671dc..cdc843d 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
More information about the mesa-commit
mailing list