summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"