Commit e84e4169 authored by Max Kellermann's avatar Max Kellermann

Compiler.h: remove redundant __GNUC__ check

GCC_VERSION>0 implies defined(__GNUC__).
parent cd6c5cfd
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* other compiler) or newer? * other compiler) or newer?
*/ */
#define GCC_CHECK_VERSION(major, minor) \ #define GCC_CHECK_VERSION(major, minor) \
(defined(__GNUC__) && !defined(__clang__) && \ (!defined(__clang__) && \
GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0)) GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0))
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment