From 9d39483d4216f7b725dfbb590b5138dd15fc1733 Mon Sep 17 00:00:00 2001 From: Ievgenii Meshcheriakov Date: Fri, 18 Feb 2022 16:57:35 +0100 Subject: [PATCH] Remove definition of _GCC_VERSION_AT_LEAST This macro is unused and is the only piece for compiler-specific code in this file. --- src/lookup_string_in_fixed_set.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lookup_string_in_fixed_set.c b/src/lookup_string_in_fixed_set.c index 5712fe5..57c2e4e 100644 --- a/src/lookup_string_in_fixed_set.c +++ b/src/lookup_string_in_fixed_set.c @@ -7,12 +7,6 @@ #include -#if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define _GCC_VERSION_AT_LEAST(major, minor) ((__GNUC__ > (major)) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) -#else -# define _GCC_VERSION_AT_LEAST(major, minor) 0 -#endif - #define CHECK_LT(a, b) if ((a) >= b) return 0 static const char multibyte_length_table[16] = {