Compiler.h: remove redundant __GNUC__ check

GCC_VERSION>0 implies defined(__GNUC__).
This commit is contained in:
Max Kellermann 2016-08-23 09:46:13 +02:00
parent cd6c5cfd4c
commit e84e4169f9

View File

@ -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))
/**