From: Joseph Sutton Date: Tue, 22 Feb 2022 03:41:52 +0000 (+1300) Subject: third_party/heimdal_build: Define fallthrough macro for switch statements X-Git-Tag: tevent-0.12.0~612 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fccf9859786dfb50b317ea2296c2494997f0ae09;p=thirdparty%2Fsamba.git third_party/heimdal_build: Define fallthrough macro for switch statements This is an adaptation to Heimdal: commit ddc61136100b32346c4c4efa2bb6ddb5baedfb3e Author: Nicolas Williams Date: Fri Jan 14 16:32:04 2022 -0600 Use fallthrough statement attribute BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995 Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Joseph Sutton Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/third_party/heimdal_build/config.h b/third_party/heimdal_build/config.h index d9ba31b3b45..42b11ace11f 100644 --- a/third_party/heimdal_build/config.h +++ b/third_party/heimdal_build/config.h @@ -64,4 +64,6 @@ #define HAVE_STRSEP 1 #endif +#define fallthrough FALL_THROUGH + #endif