Compiler.h: remove redundant __GNUC__ check
GCC_VERSION>0 implies defined(__GNUC__).
This commit is contained in:
parent
cd6c5cfd4c
commit
e84e4169f9
@ -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))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user