forked from Imagelibrary/binutils-gdb
sim: add ATTRIBUTE_FALLTHROUGH for local code
We'll replace various /* fall through */ comments so compilers can actually understand what the code is doing.
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
/* Include gnulib's various configure tests. */
|
||||
#include "gnulib/config.h"
|
||||
|
||||
/* This comes from gnulib. Export it until ansidecl.h handles it. */
|
||||
#define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
|
||||
|
||||
/* Reset macros that our config.h will provide. */
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
Reference in New Issue
Block a user