[Mesa-dev] [RFC 7/8] util: remove support for GCC older than 4.1.0

Timothy Arceri t_arceri at yahoo.com.au
Fri Dec 12 03:46:25 PST 2014


Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
 src/util/u_atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/u_atomic.h b/src/util/u_atomic.h
index 56c5740..4010036 100644
--- a/src/util/u_atomic.h
+++ b/src/util/u_atomic.h
@@ -21,7 +21,7 @@
 #define PIPE_ATOMIC_OS_SOLARIS
 #elif defined(_MSC_VER)
 #define PIPE_ATOMIC_MSVC_INTRINSIC
-#elif defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 401)
+#elif defined(__GNUC__)
 #define PIPE_ATOMIC_GCC_INTRINSIC
 #else
 #error "Unsupported platform"
-- 
2.1.0



More information about the mesa-dev mailing list