]> birchwood-abbey.net Git - mit-scheme.git/commitdiff
microcode: Use fallthrough attribute on clang 10 and 11 too.
authorTaylor R Campbell <campbell+mit-scheme@mumble.net>
Thu, 4 Feb 2021 17:02:36 +0000 (17:02 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 15 Feb 2021 07:22:05 +0000 (23:22 -0800)
(cherry picked from commit df76fc0ecbbc6bd0a0afc641abf655e86398d2b0)

src/microcode/confshared.h

index 502d1b16325f73af6f8109c464a4bdb5fa805148..f83671a4315efba284a729edafa43dbade24208a 100644 (file)
@@ -151,7 +151,7 @@ USA.
 #endif
 
 #if (((defined (__GNUC__)) && (__GNUC__ >= 7)) || \
-       ((defined (__clang__)) && (__clang_major__ >= 12)))
+       ((defined (__clang__)) && (__clang_major__ >= 10)))
 #  define FALLTHROUGH() ATTRIBUTE ((__fallthrough__))
 #else
 #  define FALLTHROUGH() ((void)0)