From e84e4169f97e14e5c7d1be4f63a742c9597d7b2c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Aug 2016 09:46:13 +0200 Subject: [PATCH] Compiler.h: remove redundant __GNUC__ check GCC_VERSION>0 implies defined(__GNUC__). --- src/Compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compiler.h b/src/Compiler.h index ddd1e474f..07654f12b 100644 --- a/src/Compiler.h +++ b/src/Compiler.h @@ -33,7 +33,7 @@ * other compiler) or newer? */ #define GCC_CHECK_VERSION(major, minor) \ - (defined(__GNUC__) && !defined(__clang__) && \ + (!defined(__clang__) && \ GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0)) /**