diff --git a/doc/doxygen.conf.in b/doc/doxygen.conf.in index 9760934d8..5b8e72e58 100644 --- a/doc/doxygen.conf.in +++ b/doc/doxygen.conf.in @@ -2038,9 +2038,7 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = GCC_CHECK_VERSION(major,minor)=0 \ - CLANG_OR_GCC_VERSION(major,minor)=0 \ - GCC_OLDER_THAN(major,minor)=0 +PREDEFINED = GCC_CHECK_VERSION(major,minor)=0 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this # tag can be used to specify a list of macro names that should be expanded. The diff --git a/src/util/Compiler.h b/src/util/Compiler.h index 47ab602c2..0cdffeb26 100644 --- a/src/util/Compiler.h +++ b/src/util/Compiler.h @@ -26,21 +26,6 @@ (CLANG_VERSION == 0 && \ GCC_VERSION >= GCC_MAKE_VERSION(major, minor, 0)) -/** - * Are we building with clang (any version) or at least the specified - * gcc version? - */ -#define CLANG_OR_GCC_VERSION(major, minor) \ - (CLANG_VERSION > 0 || GCC_CHECK_VERSION(major, minor)) - -/** - * Are we building with gcc (not clang or any other compiler) and a - * version older than the specified one? - */ -#define GCC_OLDER_THAN(major, minor) \ - (GCC_VERSION > 0 && CLANG_VERSION == 0 && \ - GCC_VERSION < GCC_MAKE_VERSION(major, minor, 0)) - /** * Are we building with the specified version of clang or newer? */