summaryrefslogtreecommitdiffstats
path: root/lib/eu-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eu-config.h')
-rw-r--r--lib/eu-config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/eu-config.h b/lib/eu-config.h
index 135803e7..84b22d7c 100644
--- a/lib/eu-config.h
+++ b/lib/eu-config.h
@@ -198,5 +198,12 @@ asm (".section predict_data, \"aw\"; .previous\n"
# define COMPAT_VERSION(name, version, prefix) error "should use #ifdef SYMBOL_VERSIONING"
#endif
+#ifndef FALLTHROUGH
+# ifdef HAVE_FALLTHROUGH
+# define FALLTHROUGH __attribute__ ((fallthrough))
+# else
+# define FALLTHROUGH ((void) 0)
+# endif
+#endif
#endif /* eu-config.h */