From 823ed34464f44d4ed911b81cf1e3dffef8d96072 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Wed, 23 Nov 2022 18:35:04 -0800 Subject: [PATCH] Improve chibicc support (reapply 61257d48) --- third_party/sqlite3/sqliteInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/sqlite3/sqliteInt.h b/third_party/sqlite3/sqliteInt.h index 5f4437767..bca0d307a 100644 --- a/third_party/sqlite3/sqliteInt.h +++ b/third_party/sqlite3/sqliteInt.h @@ -143,7 +143,7 @@ /* ** 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)); #else # define deliberate_fall_through