Improve chibicc support (reapply 61257d48)

This commit is contained in:
Paul Kulchenko 2022-11-23 18:35:04 -08:00
parent 9018a16e9f
commit 823ed34464

View file

@ -143,7 +143,7 @@
/* /*
** Macro to disable warnings about missing "break" at the end of a "case". ** Macro to disable warnings about missing "break" at the end of a "case".
*/ */
#if GCC_VERSION>=7000000 #if GCC_VERSION>=7000000 && !defined(__chibicc__)
# define deliberate_fall_through __attribute__((fallthrough)); # define deliberate_fall_through __attribute__((fallthrough));
#else #else
# define deliberate_fall_through # define deliberate_fall_through