[Mesa-dev] [RFC 5/8] gbm: remove support for GCC older than 4.1.0
Timothy Arceri
t_arceri at yahoo.com.au
Fri Dec 12 03:46:23 PST 2014
Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
src/gbm/main/gbmint.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gbm/main/gbmint.h b/src/gbm/main/gbmint.h
index 31345e6..155eb12 100644
--- a/src/gbm/main/gbmint.h
+++ b/src/gbm/main/gbmint.h
@@ -32,7 +32,7 @@
#include <sys/stat.h>
/* GCC visibility */
-#if defined(__GNUC__) && __GNUC__ >= 4
+#if defined(__GNUC__)
#define GBM_EXPORT __attribute__ ((visibility("default")))
#else
#define GBM_EXPORT
--
2.1.0
More information about the mesa-dev
mailing list