util: remove support for GCC older than 4.1.0
authorTimothy Arceri <t_arceri@yahoo.com.au>
Fri, 12 Dec 2014 09:47:43 +0000 (20:47 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 16 Dec 2014 21:37:42 +0000 (08:37 +1100)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/util/u_atomic.h

index 56c5740bfbd50b7af78d92f256d5a53d2972e74f..401003638755ffaef05f754631ff74ed83766d44 100644 (file)
@@ -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"