summaryrefslogtreecommitdiff
path: root/third_party/heimdal_build
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-02-22 16:41:52 +1300
committerJoseph Sutton <jsutton@samba.org>2022-03-01 22:34:34 +0000
commitfccf9859786dfb50b317ea2296c2494997f0ae09 (patch)
tree99b2dac5d8c81fccecb445d52cf1c862f17e113d /third_party/heimdal_build
parent8c97743511e4d53f795f2469a28aabfb96da0dfa (diff)
downloadsamba-fccf9859786dfb50b317ea2296c2494997f0ae09.tar.gz
third_party/heimdal_build: Define fallthrough macro for switch statements
This is an adaptation to Heimdal: commit ddc61136100b32346c4c4efa2bb6ddb5baedfb3e Author: Nicolas Williams <nico@twosigma.com> 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 <metze@samba.org> Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'third_party/heimdal_build')
-rw-r--r--third_party/heimdal_build/config.h2
1 files changed, 2 insertions, 0 deletions
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