summaryrefslogtreecommitdiffstats
path: root/src/util/u_atomic.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-12-12 20:47:43 +1100
committerTimothy Arceri <[email protected]>2014-12-17 08:37:42 +1100
commite801fbb8131a6124e4f9663e97c66de24918a584 (patch)
tree4157cc94b9c8154c4bfb9ea376aa30097ec307d4 /src/util/u_atomic.h
parent0936d42d52ebe07b2aed3dd2774e7275ffe03e02 (diff)
util: 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/util/u_atomic.h')
-rw-r--r--src/util/u_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_atomic.h b/src/util/u_atomic.h
index 56c5740bfbd..40100363875 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"