summaryrefslogtreecommitdiffstats
path: root/src/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/digest.c')
-rw-r--r--src/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/digest.c b/src/digest.c
index 8a58784..133f5c0 100644
--- a/src/digest.c
+++ b/src/digest.c
@@ -9,7 +9,7 @@
#if defined(__clang__) && __clang_major__ >= 12
# define FALLTHROUGH() __attribute__((fallthrough))
-#elif defined(__GNUC__) && !defined(__clang__)
+#elif defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 7
# define FALLTHROUGH() __attribute__((fallthrough))
#else
# define FALLTHROUGH()